On Fri, 2012-10-05 at 22:50 +0200, iostream wrote:
> If you want to execute some code...
>
> I'm sure you've all heard of the new "goes to" operator by now, but I
> hope it might be new to somebody.
>
> $i = 10;
> while ($i --> 0) { // while $i goes to 0
> echo $i ."\n";
> }
Okay, I haven't heard of it, and I don't get it. AFAIK, this "operator"
does not exist, but I don't get the trick that's being applied.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php