Re: [PHP-DEV] [RFC] Embedding multiple PHP engines in a single thread

2022-02-01 Thread Nikita Popov
On Tue, Feb 1, 2022 at 3:36 AM wrote: > Hello internals, > > As you know, the PHP codebase makes heavy use of global variables. In ZTS > builds, access to these globals are cleverly mapped to thread local storage > via macros. To my knowledge, the limitation here is that there's no way to > run

[PHP-DEV] [RFC] Embedding multiple PHP engines in a single thread

2022-01-31 Thread as
Hello internals, As you know, the PHP codebase makes heavy use of global variables. In ZTS builds, access to these globals are cleverly mapped to thread local storage via macros. To my knowledge, the limitation here is that there's no way to run multiple PHP engines in a single thread. (Please