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)
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
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
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
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