On Tue, 7 Mar 2006, Rasmus Lerdorf wrote:

> Michael Wallner wrote:
> > > 3) break label only (like Java)
> > +1
> 
> You do realize that this is:
> 
>   label:
>   while(condition) {
>    break label;
>   }
> 
> As a C programmer this confuses me to no end.  When I see "label:" I expect
> control to end up there and the loop to be executed again.  I realize all the
> Java folks have gotten used to this, but I don't think I ever will.

Nor would I... this is a "NONO" for me.

Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to