PHP is lacking of some elemental exceptions. One obvious example would be
FileNotFoundException.
Java has a FileNotFoundException,
C# has a FileNotFoundException,
Python has a FileNotFoundError, ...
Why doesn't PHP provide a bundled FileNotFoundException or at least a more
general IOException?
B
Hello,
there was discussion, one or two weeks ago, about session module changes
being reverted to counter regressions with some session handler locking
issues. As I experienced slowdown probably related to that when testing
5.6.2 recently (using memcache session handler), I'm curious: are these
fi
I've added a pull request here with a proposal to add the attribute at
connection time: https://github.com/php/php-src/pull/896
I think given PHP users the option to do this is really critical for
securing against SQL injection, and giving more consistent behavior between
native and emulated prepa
Hello!
The PHP development team announces the immediate availability of PHP 5.6.3.
This release fixes several bugs and one CVE in the fileinfo extension.
All PHP 5.6 users are encouraged to upgrade to this version.
For source downloads of PHP 5.6.3 please visit our
downloads page: http://www.php
Robert Stoll wrote on 13/11/2014 12:30:
-Ursprüngliche Nachricht-
>Von: Rowan Collins [mailto:rowan.coll...@gmail.com]
>Gesendet: Donnerstag, 13. November 2014 11:57
>An:internals@lists.php.net
>Betreff: Re: AW: [PHP-DEV] forbid use declaration outside of a namespace in
PHP 7
>
>Robert S
> -Ursprüngliche Nachricht-
> Von: are.you.winn...@gmail.com [mailto:are.you.winn...@gmail.com] Im Auftrag
> von Chris Wright
> Gesendet: Donnerstag, 13. November 2014 13:13
> An: Johannes Schlüter
> Cc: Robert Stoll; Adam Harvey; PHP Internals
> Betreff: Re: AW: [PHP-DEV] forbid use decla
> -Ursprüngliche Nachricht-
> Von: Rowan Collins [mailto:rowan.coll...@gmail.com]
> Gesendet: Donnerstag, 13. November 2014 11:57
> An: internals@lists.php.net
> Betreff: Re: AW: [PHP-DEV] forbid use declaration outside of a namespace in
> PHP 7
>
> Robert Stoll wrote on 12/11/2014 21:27:
On 13 November 2014 11:29, Johannes Schlüter wrote:
> On Wed, 2014-11-12 at 22:27 +0100, Robert Stoll wrote:
>
> > That's still perfectly fine because in your code the use statement is
> not outside of a namespace, it is implicitly in the default namespace.
> > I am talking about the two followin
On Wed, 2014-11-12 at 22:27 +0100, Robert Stoll wrote:
> That's still perfectly fine because in your code the use statement is not
> outside of a namespace, it is implicitly in the default namespace.
> I am talking about the two following scenarios:
>
> use \Exception;
> namespace test;
>
> $e
Robert Stoll wrote on 12/11/2014 21:27:
That's still perfectly fine because in your code the use statement is not
outside of a namespace, it is implicitly in the default namespace.
Surely if that's true of Adam's example, it's true of yours as well?
namespace a{
}
use some\UseDeclaration\w
10 matches
Mail list logo