[PHP-DEV] Re: [PHP-WEBMASTER] New wiki account

2012-05-10 Thread Alexander Moskaliov
I think the main idea of ​​this RFC: Run the code, if we had never entered in loop. In this case more sence to change "for .. else" condition to this: If second expression is equal FALSE before looping(but after run first expression of course), we run "else" code. By example: for (exp1;exp2;exp3)

Re: [PHP-DEV] Implicit Reference

2012-05-10 Thread Devis Lucato
Hi, I had a possible use case while working with an application registry. Any model could "get a copy" of it to read application settings or retrieve a resource. However if a model by mistake changed a property, it would modify the original object without going through proper setters... A quick

Re: [PHP-DEV] Implicit Reference

2012-05-10 Thread Ivan Enderlin @ Hoa
Hi Mathias, On 10/05/12 21:38, Mathias Grimm wrote: There is a suching extension to handle (intercepts) implicit (or no) reference. Ex.: $a = new A(): $b = $a; I want something like __clone(), something like __reference() to be invoked in the second line of the given example. Do you have a u

[PHP-DEV] Implicit Reference

2012-05-10 Thread Mathias Grimm
There is a suching extension to handle (intercepts) implicit (or no) reference. Ex.: $a = new A(): $b = $a; I want something like __clone(), something like __reference() to be invoked in the second line of the given example. Thanks. -- Mathias Grimm

[PHP-DEV] Re: [PHP-CVS] com php-src: Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config): NEWS Zend/zend.c

2012-05-10 Thread Dmitry Stogov
On 05/05/2012 06:57 PM, Laruence wrote: Hi Dmitry: On Sat, May 5, 2012 at 6:38 PM, Laruence wrote: On Sat, May 5, 2012 at 2:36 PM, Dmitry Stogov wrote: Hi Laruence, Thank you for sending this. I'm not sure if the patch is completely correct. With the patch all the threads share the single