2012/5/12 Dmitri Ravazin <rava...@gmail.com>

> Yes... That's just what I had in the RFC.


Not at all. In RFC you use first expression in "for ... else" statement as
condition for "else" statement.

if (some_very_expensive_and_ugly_looking_calculation($array) < 0) {

}


 I think it correct to use the second expression before the start of
looping, as I described in previous mail.


2012/5/12 Kris Craig <kris.cr...@gmail.com>

> Yep.  And at least for my part, I have no idea what RFC you guys are
> talking about lol.  ;P

Sorry, RFC link was in old thread: https://wiki.php.net/rfc/loop_else

With regards, Alexander Moskaliov
ir...@irker.net

Reply via email to