Re: [RFC] Preloading

php.internals

Dmitry Stogov

7 years ago
On Oct 20, 2018 5:28 AM, Levi Morrison <levim@php.net> wrote:
> I would like to start discussion on a Preloadng RFC https://wiki.php.net/rfc/preload > > This technology would allow loading some PHP files on server startup and make all the defined classes and functions to be permanently available in the context of future request (without any includes). Despite of performance improvement, this technology is going to be used in conjunction with ext/FFI and JIT. > > The implementation is not 100% complete, it misses support for ZTS, because of a error in ZTS interned strings implementation.
What about classes with static members? I don't see "static" mentioned anywhere. Is it supported? If so it should explicitly be mentioned along with any caveats, if any. Thanks for feedback. Static members are supported completely transparently. I'll mention this in RFC. Dmitry.