Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-07 Thread Christoph M. Becker
On 07.11.2018 at 16:14, guilhermebla...@gmail.com wrote: > Now on the convention, is there any reason why single underscore (_) is > used instead of double underscores (__)? We already have __autoload, > __sleep, __toString, __wakeup, etc. There is no convention at all. The ini directive opcache

Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-07 Thread Benjamin Morel
> > Now on the convention, is there any reason why single underscore (_) is > used instead of double underscores (__)? Are you talking about _preload()? I guess this is just an example userland code in the RFC, not a new internal or magic method.

Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-07 Thread guilhermebla...@gmail.com
Hi, Besides the yet-another naming convention, I'm quite optimistic about this RFC. Now on the convention, is there any reason why single underscore (_) is used instead of double underscores (__)? We already have __autoload, __sleep, __toString, __wakeup, etc. Regards, On Tue, Nov 6, 2018 at 11:

Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-06 Thread Levi Morrison
On Tue, Nov 6, 2018 at 3:05 AM Dmitry Stogov wrote: > > Hi internals, > > > The preloading RFC is turned into voting state. > > > https://wiki.php.net/rfc/preload > > > Many thanks to Anatol, MZPERX and Xinchen for testing. > > I hope, most of the implementation issues should be fixed now. > > > T

Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-06 Thread Dmitry Stogov
On 11/6/18 2:35 PM, Christoph M. Becker wrote: > On 06.11.2018 at 12:00, Dan Ackroyd wrote: > >> On Tue, 6 Nov 2018 at 10:05, Dmitry Stogov wrote: >> >>> The preloading RFC is turned into voting state. >> Apologies if it's been asked before but from: >> >>> Only classes without unresolved parent,

Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-06 Thread Christoph M. Becker
On 06.11.2018 at 12:00, Dan Ackroyd wrote: > On Tue, 6 Nov 2018 at 10:05, Dmitry Stogov wrote: > >> The preloading RFC is turned into voting state. > > Apologies if it's been asked before but from: > >> Only classes without unresolved parent, interfaces, traits and constant >> values may be pre

Re: [PHP-DEV] [RFC] [VOTE] Preloading

2018-11-06 Thread Dan Ackroyd
Hi Dmitry, On Tue, 6 Nov 2018 at 10:05, Dmitry Stogov wrote: > > Hi internals, > > > The preloading RFC is turned into voting state. Apologies if it's been asked before but from: > Only classes without unresolved parent, interfaces, traits and constant > values may be preloaded. If a class doesn

[PHP-DEV] [RFC] [VOTE] Preloading

2018-11-06 Thread Dmitry Stogov
Hi internals, The preloading RFC is turned into voting state. https://wiki.php.net/rfc/preload Many thanks to Anatol, MZPERX and Xinchen for testing. I hope, most of the implementation issues should be fixed now. Thanks. Dmitry.