Re: New wiki account
| From: | Alexander Moskaliov | Date: | Fri, 11 May 2012 06:33:45 +0000 |
| Subject: | Re: New wiki account | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60529@lists.php.net to get a copy of this message | ||
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) {
exp4;
} else {
exp5;
}
must be equal
$notLooping = true;
for (exp1;exp2;exp3) {
exp4;
$notLooping = false;
}
if ($notLooping) {
exp5;
}
With regards, Alexander Moskaliov
Irker@irker.net
2012/5/10 Dmitri Ravazin <ravazin@gmail.com>
> Hi,
>
> I registered account 'ravazin' on wiki.
> I'd like to write an RFC based on bugs:
>
> https://bugs.php.net/bug.php?id=26411
> https://bugs.php.net/bug.php?id=46240
> https://bugs.php.net/bug.php?id=61222
>
> I think it's time these requests got some sort of resolution :)
>