Re: [PHP-DEV] opcache.file_cache_only = 1 disables Opcode Caching

2015-12-28 Thread Xinchen Hui
Hey: On Tue, Dec 29, 2015 at 3:31 PM, Tom Sommer wrote: > Awesome feature with opcache.file_cache_only, really exciting :) > > A couple of things: > > 1) It's not documented in the manual > yes, it's an experimental feature now > > 2) When you set opcache.file_cache_only = 1, the "Opcode Cachin

[PHP-DEV] opcache.file_cache_only = 1 disables Opcode Caching

2015-12-28 Thread Tom Sommer
Awesome feature with opcache.file_cache_only, really exciting :) A couple of things: 1) It's not documented in the manual 2) When you set opcache.file_cache_only = 1, the "Opcode Caching" information in phpinfo() disappears. "Opcode Caching" and "Optimization" is shown as "Disabled". Is this

Re: [PHP-DEV] Make strict mode more strict?

2015-12-28 Thread Elijah Johnson
Hi (all), On Mon, Dec 28, 2015 at 3:40 PM, Yasuo Ohgaki wrote: > Hi all, > > On Tue, Dec 29, 2015 at 5:28 AM, Yasuo Ohgaki wrote: > > Object(class) is type, so it makes sense checking class consistency. If > we > > check object's class, not only the class but also ancestor classes > should be >

Re: [PHP-DEV] RFC proposal for alternative list syntax

2015-12-28 Thread Julian Rhind
Hi Thanks all for the feedback - I'm posting back to get some "RFC karma" for my newly created wiki account please - so I can post my RFC - username is "julian" Thanks Regards Julian From: Kris Craig Sent: 28 December 2015 18:40 To: Pierre Joye Cc: PHP i

Re: [PHP-DEV] Make strict mode more strict?

2015-12-28 Thread Yasuo Ohgaki
Hi all, On Tue, Dec 29, 2015 at 5:28 AM, Yasuo Ohgaki wrote: > Object(class) is type, so it makes sense checking class consistency. If we > check object's class, not only the class but also ancestor classes should be > checked. This may affect performance. > I'm not sure if this worth the effort.

Re: [PHP-DEV] Make strict mode more strict?

2015-12-28 Thread Yasuo Ohgaki
Hi Elijah, On Tue, Dec 29, 2015 at 12:47 AM, Elijah Johnson wrote: > The mode "stack-mode-static-object-types" would ideally also prevent > assignment of an object with a current string value, or string placeholder > value. What I mean by placeholder value - an additional z-val type "t" > returni

Re: [PHP-DEV] Throwable::addSuppressed()

2015-12-28 Thread Dan Ackroyd
On 28 July 2015 at 21:33, Markus Malkusch wrote: > Hi PHP > > So I read that there's this Throwable interface coming. Great! How about > extending it with: > > void Throwable::addSuppressed(Throwable exception) > > Throwable[] Throwable::getSuppressed() > > So PHP, what do you think, might a RFC f

Re: [PHP-DEV] Multicatch RFC proposal

2015-12-28 Thread Dan Ackroyd
On 24 December 2015 at 22:40, Bronisław Białek wrote: > Hello everyone! > > I've just created an RFC draft for catching multiple exception types > in one catch statement: > https://github.com/bronek89/php-multicatch-rfc > > I wrote RFC on github to check if there is any positive response from > c

Re: [PHP-DEV] Make strict mode more strict?

2015-12-28 Thread Elijah Johnson
Some additional observations - On Mon, Dec 28, 2015 at 10:03 AM, Elijah Johnson wrote: > Thanks, > > On Mon, Dec 28, 2015 at 6:34 AM, François Laupretre > wrote: > >> Hi, >> >> Le 26/12/2015 21:35, Elijah Johnson a écrit : >> >>> Can you explain your statement that this would be a huge and comp

Re: [PHP-DEV] Make strict mode more strict?

2015-12-28 Thread Elijah Johnson
Thanks, On Mon, Dec 28, 2015 at 6:34 AM, François Laupretre wrote: > Hi, > > Le 26/12/2015 21:35, Elijah Johnson a écrit : > >> Can you explain your statement that this would be a huge and complex >> work? You must mean that there would be multiple places in the php source >> code where variable

Re: [PHP-DEV] Make strict mode more strict?

2015-12-28 Thread François Laupretre
Hi, Le 26/12/2015 21:35, Elijah Johnson a écrit : Can you explain your statement that this would be a huge and complex work? You must mean that there would be multiple places in the php source code where variables are assigned? I'm not yet discussing performance, but only the aspect of adding

Re: [PHP-DEV] Wiki access

2015-12-28 Thread Ferenc Kovacs
On Sun, Dec 27, 2015 at 2:03 PM, Guy Sheffer wrote: > Hey all, > I wanted to get wiki access to update the IRC channel here: > https://wiki.php.net/internals/windows > > From: > #php-dev-win > > to: > #winphp-dev > > which is the right one to go to. > > I've been the windows integration engineer