Re: GOTO and/or BREAK LABEL
| From: | Mike Lively | Date: | Tue, 07 Mar 2006 17:02:29 +0000 |
| Subject: | Re: GOTO and/or BREAK LABEL | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22211@lists.php.net to get a copy of this message | ||
On Tue, 2006-03-07 at 12:28 +0300, Dmitry Stogov wrote:
> Hi,
>
> Because of some confused people I reverted "break label" patch and post it
> for discussion once again together with GOTO patch.
>
> Please reviw and vote.
>
> 1) goto and break label
> 2) goto only (like C)
> 3) break label only (like Java)
> 4) nothing
>
> My vote: (1) +0.5, (4) +0.5
>
> Thanks. Dmitry.
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
1) +0
2) +1
3) -1
4) -1
I personally think labelled breaks are more fluff than anything. Like
Greg I just haven't seen any examples of trying to break out of more
than 3 loops in live code and I only recall seeing that once.