First of all, let's not call this 'magic'.
Static initializers aren't any more magical that object constructors.
johan...@php.net wrote:
> Adding an __init method as you wish will just add complexity and gain very
> little.
> class A {
> public function __init() { echo __CLASS__; }
>
On Sat, May 12, 2012 at 12:22 AM, Alexander Moskaliov wrote:
> 2012/5/12 Dmitri Ravazin
>>
>> Yes... That's just what I had in the RFC.
>
>
> Not at all. In RFC you use first expression in "for ... else" statement as
&g
On Fri, May 11, 2012 at 2:33 AM, Alexander Moskaliov wrote:
>
> 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
> expre