We can disable immutable arrays when opcache not loaded or disabled.
But it's going to be difficult to disable them when script can't fit into
SHM, because at the moment of compilation (or optimization) we don't know
the final required size.

Thanks. Dmitry.


On Mon, Aug 4, 2014 at 9:26 PM, Andrea Faulds <a...@ajf.me> wrote:

>
> On 4 Aug 2014, at 18:06, Pierre Joye <pierre....@gmail.com> wrote:
>
> > As I agree that a solution has to be found, introducing pragma is
> > definitively not something I like to see in PHP, options like that are
> > way too low level and should not be exposed in userland. It will make
> > PHP way too complex.
>
> Perhaps I’m being technically ignorant here, but would it not be possible
> to disable immutable arrays when opcache is not in use?
>
> --
> Andrea Faulds
> http://ajf.me/
>
>
>
>
>

Reply via email to