Re: [PHP-DEV] Wiki account

2012-10-18 Thread Marcello Duarte
On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: > On Wed, Oct 17, 2012 at 2:49 AM, Pierre Joye wrote: >> Marcello likes to write a RFC >> >> On Wed, Oct 17, 2012 at 11:28 AM, Marcello Duarte >> wrote: >>> Hi, >>> >>> Can I please have a wiki account? >>> > > People who cannot read do not g

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Hannes Magnusson
On Thu, Oct 18, 2012 at 1:08 AM, Marcello Duarte wrote: > On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: > >> On Wed, Oct 17, 2012 at 2:49 AM, Pierre Joye wrote: >>> Marcello likes to write a RFC >>> >>> On Wed, Oct 17, 2012 at 11:28 AM, Marcello Duarte >>> wrote: Hi, Can I ple

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Marcello Duarte
On 18 Oct 2012, at 09:13, Hannes Magnusson wrote: > On Thu, Oct 18, 2012 at 1:08 AM, Marcello Duarte > wrote: >> On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: >> >>> On Wed, Oct 17, 2012 at 2:49 AM, Pierre Joye wrote: Marcello likes to write a RFC On Wed, Oct 17, 2012 at 11:

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Derick Rethans
Marcello Duarte wrote: > On 18 Oct 2012, at 09:13, Hannes Magnusson wrote: > > > On Thu, Oct 18, 2012 at 1:08 AM, Marcello Duarte > > wrote: > >> On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: > >> > >>> On Wed, Oct 17, 2012 at 2:49 AM, Pierre Joye > wrote: > Marcello likes to write a

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Marcello Duarte
On 18 Oct 2012, at 09:37, Derick Rethans wrote: > Marcello Duarte wrote: > >> On 18 Oct 2012, at 09:13, Hannes Magnusson wrote: >> >>> On Thu, Oct 18, 2012 at 1:08 AM, Marcello Duarte >>> wrote: On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: > On Wed, Oct 17, 2012 at 2:49 AM,

[PHP-DEV] Please do not call zval_dtor on recursive array

2012-10-18 Thread Laruence
Hey: recently we found a problem, that is "usage zval_dtor on a recursive array while gc enabled" has chance to result a segfault. a reproduce script could be found here: https://github.com/php/php-src/blob/8bd5e15ff7a57791956c4017ee8fb4a8ac0d8d2e/ext/pcre/tests/bug63055.phpt the preg_mat

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Pierre Joye
What's about simply give him this damned karma instead of this pointless arguing! ps: never mentioned that you have an account already i would have gave you the karma already On Oct 18, 2012 11:00 AM, "Marcello Duarte" wrote: > On 18 Oct 2012, at 09:37, Derick Rethans wrote: > > > Marcello D

Re: [PHP-DEV] Please do not call zval_dtor on recursive array

2012-10-18 Thread Pierre Joye
hi Dmitry, Laruence! On Thu, Oct 18, 2012 at 11:46 AM, Laruence wrote: > Hey: > > recently we found a problem, that is "usage zval_dtor on a recursive > array while gc enabled" has chance to result a segfault. > > a reproduce script could be found here: > https://github.com/php/php-src/blob/

[PHP-DEV] PCRE 8.31

2012-10-18 Thread Anatoliy Belsky
Hi, as requested in the issue #63284, I've produced a patch for PCRE 8.31 upgrade. Tests has passed for me on 5.3/5.4/master ts and nts, though anybody willing to perform additional tests is welcomed. More tests will be performed next days anyway. There is also a question hanging in the air - wou

Re: [PHP-DEV] Please do not call zval_dtor on recursive array

2012-10-18 Thread Laruence
On Thu, Oct 18, 2012 at 6:45 PM, Pierre Joye wrote: > hi Dmitry, Laruence! > > On Thu, Oct 18, 2012 at 11:46 AM, Laruence wrote: >> Hey: >> >> recently we found a problem, that is "usage zval_dtor on a recursive >> array while gc enabled" has chance to result a segfault. >> >> a reproduce sc

Re: [PHP-DEV] Please do not call zval_dtor on recursive array

2012-10-18 Thread Dmitry Stogov
I think, I've found a more simple fix (attached) that don't require extension patching and even allow to optimize ZE a bit. Laruence, can you please verify it. Sorry, I'm quite busy with other tasks. Thanks. Dmitry. On 10/18/2012 02:56 PM, Laruence wrote: On Thu, Oct 18, 2012 at 6:45 PM, Pier

RE: [PHP-DEV] Wiki account

2012-10-18 Thread Clint Priest
Who's the karma keeper anyways? Do we get a score? ;) > -Original Message- > From: Pierre Joye [mailto:pierre@gmail.com] > Sent: Thursday, October 18, 2012 5:03 AM > To: Marcello Duarte > Cc: PHP internals; Hannes Magnusson; Derick Rethans > Subject: Re: [PHP-DEV] Wiki account > > Wh

Re: [PHP-DEV] Please do not call zval_dtor on recursive array

2012-10-18 Thread Laruence
Hi: it's great, I tested, and committed. :) thanks On Thu, Oct 18, 2012 at 7:19 PM, Dmitry Stogov wrote: > I think, I've found a more simple fix (attached) that don't require > extension patching and even allow to optimize ZE a bit. > > Laruence, can you please verify it. > Sorry, I'm quite bu

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Parallel run-tests

2012-10-18 Thread Pierre Joye
hi! On Wed, Oct 17, 2012 at 5:41 PM, zoe slattery wrote: > Nuno - just a PS to the last note. It is (mainly) the task allocation across > processors which means that running tests in parallel on a 4-way machine is > not 4 times as fast as running them in sequence. > > Here are some results from a

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Kris Craig
On Thu, Oct 18, 2012 at 4:58 AM, Clint Priest wrote: > Who's the karma keeper anyways? Do we get a score? ;) I'm not 100% sure, but I think the Hindu god Ishvara is the person you're looking for. --Kris

Re: [PHP-DEV] PCRE 8.31

2012-10-18 Thread Rasmus Lerdorf
On 10/18/2012 03:47 AM, Anatoliy Belsky wrote: > Hi, > > as requested in the issue #63284, I've produced a patch for PCRE 8.31 > upgrade. Tests has passed for me on 5.3/5.4/master ts and nts, though > anybody willing to perform additional tests is welcomed. More tests will > be performed next days

[PHP-DEV] PHP 5.4.8 and PHP 5.3.18 released!

2012-10-18 Thread d...@php.net
The PHP development team announces the immediate availability of PHP 5.4.8 and PHP 5.3.18. These releases fix about 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.8, or at least 5.3.18. Key enhancements in these releases include: * Fixed bug #63111 (is_callable() lies for abstrac

[PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread David Strauss
The full RFC, including initial patches, is here: https://wiki.php.net/rfc/socketactivation In short, this allows spawning a PHP-FPM pool on-demand with systemd initializing the main socket. -- David Strauss | da...@davidstrauss.net -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread Reinis Rozitis
In short, this allows spawning a PHP-FPM pool on-demand with systemd initializing the main socket. What would be the advantage on using systemd instead of using FPMs native 'ondemand' process manager? rr -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http:/

Re: [PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread David Strauss
On Thu, Oct 18, 2012 at 2:03 PM, Reinis Rozitis wrote: > What would be the advantage on using systemd instead of using FPMs native > 'ondemand' process manager? The ondemand process manager still keeps considerable memory allocated, and PHP-FPM currently has some idle CPU load (<1% per service, b

Re: [PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread David Muir
On 19/10/12 07:41, David Strauss wrote: > The full RFC, including initial patches, is here: > https://wiki.php.net/rfc/socketactivation > > In short, this allows spawning a PHP-FPM pool on-demand with systemd > initializing the main socket. > Upstart support would be good to have too. I take it t

Re: [PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread David Strauss
On Thu, Oct 18, 2012 at 4:06 PM, David Muir wrote: > Upstart support would be good to have too. I'm aware of Upstart having some basic socket activation support, and I'm happy to provide advice on the PHP-FPM/Linux side for integrating it in follow-up work. All socket activation basically works

Re: [PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread Rasmus Lerdorf
On 10/18/2012 04:16 PM, David Strauss wrote: > On Thu, Oct 18, 2012 at 4:06 PM, David Muir wrote: >> Upstart support would be good to have too. > > I'm aware of Upstart having some basic socket activation support, and > I'm happy to provide advice on the PHP-FPM/Linux side for integrating > it in

Re: [PHP-DEV] [RFC] Socket activation support for PHP-FPM

2012-10-18 Thread David Strauss
On Thu, Oct 18, 2012 at 4:35 PM, Rasmus Lerdorf wrote: > Note though that in order for pools to share an opcode cache they must > be forked from the same parent process. There are ways to work around > that, but it requires some fancy fd passing footwork in APC and I guess > in many instances you

Re: [PHP-DEV] PCRE 8.31

2012-10-18 Thread Pierre Joye
hi! On Thu, Oct 18, 2012 at 3:57 PM, Rasmus Lerdorf wrote: > On 10/18/2012 03:47 AM, Anatoliy Belsky wrote: >> Hi, >> >> as requested in the issue #63284, I've produced a patch for PCRE 8.31 >> upgrade. Tests has passed for me on 5.3/5.4/master ts and nts, though >> anybody willing to perform add