Re: [PHP-DEV] Reporting bugs for phpng

2014-08-07 Thread Pascal Chevrel
Le 05/08/2014 13:41, Dmitry Stogov a écrit : Now it must be completely fixed in git. Thanks. Dmitry. I just got an update of the .deb from zend and the bug is indeed fixed, thanks Dmitry! Pascal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.ph

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-05 Thread Ferenc Kovacs
On Tue, Aug 5, 2014 at 2:14 PM, Pascal Chevrel wrote: > Le 05/08/2014 14:01, Pascal Chevrel a écrit : > > Le 05/08/2014 13:41, Dmitry Stogov a écrit : >> >>> Now it must be completely fixed in git. >>> >>> Thanks. Dmitry. >>> >>> >> Thanks Dmitry, will the .deb package be soon updated so as that

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-05 Thread Pascal Chevrel
Le 05/08/2014 14:01, Pascal Chevrel a écrit : Le 05/08/2014 13:41, Dmitry Stogov a écrit : Now it must be completely fixed in git. Thanks. Dmitry. Thanks Dmitry, will the .deb package be soon updated so as that I can test that the issue is resolved on my side? Actually, shouldn't 'php -i'

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-05 Thread Pascal Chevrel
Le 05/08/2014 13:41, Dmitry Stogov a écrit : Now it must be completely fixed in git. Thanks. Dmitry. Thanks Dmitry, will the .deb package be soon updated so as that I can test that the issue is resolved on my side? Regards Pascal -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-05 Thread Dmitry Stogov
Now it must be completely fixed in git. Thanks. Dmitry. On Mon, Aug 4, 2014 at 9:44 PM, Dmitry Stogov wrote: > 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 compil

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-04 Thread Dmitry Stogov
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

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-04 Thread Andrea Faulds
On 4 Aug 2014, at 18:06, Pierre Joye 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 bei

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-04 Thread Pierre Joye
hi Dmitry, On Mon, Aug 4, 2014 at 6:23 PM, Dmitry Stogov wrote: > hi Pascal, > > Laruence is right - immutable arrays are not destroyed until the end of > request and this causes a problem in your case. > > I've committed a partial fix that destroys unnecessary copies when script > is cached by O

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-04 Thread Dmitry Stogov
hi Pascal, Laruence is right - immutable arrays are not destroyed until the end of request and this causes a problem in your case. I've committed a partial fix that destroys unnecessary copies when script is cached by OPCache, but it doesn't work without opcache or when it doesn't have enough sha

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-01 Thread Laruence
On Fri, Aug 1, 2014 at 12:34 AM, Pascal Chevrel wrote: > Le 31/07/2014 16:23, Laruence a écrit : > >> Hey: >> >> On Thu, Jul 31, 2014 at 8:29 PM, Pascal Chevrel >> wrote: >>> >>> Le 26/07/2014 04:42, Laruence a écrit : >>> Hey: On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel

Re: [PHP-DEV] Reporting bugs for phpng

2014-08-01 Thread Pascal Chevrel
Le 01/08/2014 10:21, Laruence a écrit : On Fri, Aug 1, 2014 at 12:34 AM, Pascal Chevrel wrote: Le 31/07/2014 16:23, Laruence a écrit : Hey: On Thu, Jul 31, 2014 at 8:29 PM, Pascal Chevrel wrote: Le 26/07/2014 04:42, Laruence a écrit : Hey: On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevre

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-31 Thread Andrea Faulds
On 31 Jul 2014, at 17:34, Pascal Chevrel wrote: > The problem is that the more arrays I load, the more memory PHPNG consumes > while current versions of PHP have that value mostly stable. I have with > PHPNG a scalability issue I don't have with regular PHP. If tomorrow I > increase the numbe

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-31 Thread Nikita Popov
On Thu, Jul 31, 2014 at 4:23 PM, Laruence 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

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-31 Thread Pascal Chevrel
Le 31/07/2014 16:23, Laruence a écrit : Hey: On Thu, Jul 31, 2014 at 8:29 PM, Pascal Chevrel wrote: Le 26/07/2014 04:42, Laruence a écrit : Hey: On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel wrote: Hi, I tried the .deb package for phpng that Zend provides since yesterday (thanks for t

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-31 Thread Laruence
Hey: On Thu, Jul 31, 2014 at 8:29 PM, Pascal Chevrel wrote: > Le 26/07/2014 04:42, Laruence a écrit : > >> Hey: >> >> On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel >> wrote: >>> >>> Hi, >>> >>> I tried the .deb package for phpng that Zend provides since yesterday >>> (thanks for that!) and I h

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-31 Thread Matteo Beccati
On 26/07/2014 04:42, Laruence wrote: > PHPNG is not listed in bugs.php.net yet. but as it's a branch of PHP > , I think it's okey to report it there, and note it's PHPNG in the > comment. for now. wouldn't it be fairly easy to create a new entry in the version dropdown? Cheers -- Matteo Beccat

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-31 Thread Pascal Chevrel
Le 26/07/2014 04:42, Laruence a écrit : Hey: On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel wrote: Hi, I tried the .deb package for phpng that Zend provides since yesterday (thanks for that!) and I hit a memory consumption issue with the first of my scripts I tried: PHPNG: Memory peak: 6291

Re: [PHP-DEV] Reporting bugs for phpng

2014-07-25 Thread Laruence
Hey: On Fri, Jul 25, 2014 at 9:14 PM, Pascal Chevrel wrote: > Hi, > > I tried the .deb package for phpng that Zend provides since yesterday > (thanks for that!) and I hit a memory consumption issue with the first of my > scripts I tried: > > PHPNG: > Memory peak: 62914560 (55.97MB) > Elapsed time