# GOTO operator

- Thread: https://externals.io/message/11757
- Original archive: https://news-web.php.net/php.internals/11757
- Started by tinys xuefer on 2004-07-31T07:16:54+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11757 — tinys xuefer — 2004-07-31T07:16:54+00:00

URL: https://externals.io/message/11757#11757

how about: "break label;" ?
just a thought


>From: Andi Gutmans <andi@zend.com>
>To: "Sara Golemon" <pollita@php.net>,internals@lists.php.net
>Subject: Re: [PHP-DEV] GOTO operator
>Date: Sat, 31 Jul 2004 00:13:51 -0700
>MIME-Version: 1.0
>X-Sender: andi@127.0.0.1
>Received: from pb1.pair.com ([216.92.131.4]) by mc9-f26.hotmail.com with 
>Microsoft SMTPSVC(5.0.2195.6824); Sat, 31 Jul 2004 00:14:21 -0700
>Received: (qmail 21507 invoked by uid 1010); 31 Jul 2004 07:14:12 -0000
>Received: (qmail 21456 invoked by uid 1010); 31 Jul 2004 07:14:11 -0000
>X-Message-Info: JGTYoYF78jEhitu4NH5K6pJRNQwoa+2D
>Mailing-List: contact internals-help@lists.php.net; run by ezmlm
>Precedence: bulk
>list-help: <mailto:internals-help@lists.php.net>
>list-unsubscribe: <mailto:internals-unsubscribe@lists.php.net>
>list-post: <mailto:internals@lists.php.net>
>Delivered-To: mailing list internals@lists.php.net
>Delivered-To: ezmlm-scan-internals@lists.php.net
>Delivered-To: ezmlm-internals@lists.php.net
>Message-Id: <5.1.0.14.2.20040731001327.02821998@127.0.0.1>
>X-Mailer: QUALCOMM Windows Eudora Version 5.1
>In-Reply-To: <20040731042517.4546.qmail@pb1.pair.com>
>References: <200407291830.55971.ilia@prohost.org> 
><20040729021337.73894.qmail@pb1.pair.com> 
><1091139076.29517.12.camel@blobule.suds> <410991E1.6070000@hristov.com> 
><200407291830.55971.ilia@prohost.org> 
><5.1.0.14.2.20040730114632.02bc89c8@127.0.0.1> 
><5.1.0.14.2.20040730120146.02ec7ac8@127.0.0.1> 
><5.1.0.14.2.20040730121624.02bc8880@127.0.0.1>
>Return-Path: internals-return-11756-xuefer=hotmail.com@lists.php.net
>X-OriginalArrivalTime: 31 Jul 2004 07:14:21.0331 (UTC) 
>FILETIME=[00488630:01C476CE]
>
>At 09:24 PM 7/30/2004 -0700, Sara Golemon wrote:
> > […]
>
>Sara,
>
>Feel free to email me personally and I can help you out and give you advice 
>on what you should be looking at.
>
>Andi
>
>--
>
>
>

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

---

## #11983 — Brian Kell — 2004-08-06T16:41:38+00:00

URL: https://externals.io/message/11757#11983 · In reply to: #11757

If anyone in this debate hasn't read my independent request for goto and  
"break label;", I would appreciate it if you would:

http://bugs.php.net/bug.php?id=29287

I fully support the implementation of goto. Line labels will also  
immensely improve the break statement, which currently requires you to  
count the number of enclosing blocks you want to break out of, and won't  
work the way you expect if you add a new loop or switch inside the loop  
you're trying to break out of. In fact, I would recommend focusing more  
energy on line labels for the break statement than on line labels for  
goto. But, since we already have a goto implementation, I guess that's a  
moot point. :)

Brian

On Sat, 31 Jul 2004 15:16:54 +0800, Tinys Xuefer <xuefer@hotmail.com>  
wrote:

> how about: "break label;" ?
> just a thought
