Re: Reporting bugs for phpng

From: Date: Thu, 31 Jul 2014 20:18:09 +0000
Subject: Re: Reporting bugs for phpng
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-76299@lists.php.net to get a copy of this message
On Thu, Jul 31, 2014 at 4:23 PM, Laruence <laruence@php.net> wrote: > Hey: > > I am afraid this is not a bug. > > it's due to our new immutable array implementation. > > all these langs map array are constant array, such it will be treat as > immutable array, which means it will not be released untill the > request shutdown. (which will bring significant performance > improvement for saving array construct/destruct while use with > opcache) > > I suggest you to increase the memory_limit as a workaround .. > > Anyway, Dmitry, what do you think? maybe something like > interned_string_size? > Another idea: We could refrain from creating immutable arrays for top-level scripts (only do it in functions, methods etc). As function op arrays never get dtor'd there would be no problem there. Nikita

« previous php.internals (#76299) next »