Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87045 invoked by uid 1010); 7 Mar 2006 10:27:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87010 invoked from network); 7 Mar 2006 10:27:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 10:27:41 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:53608] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5A/E2-22029-C6B5D044 for ; Tue, 07 Mar 2006 05:07:41 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id k27A7avs031306; Tue, 7 Mar 2006 11:07:36 +0100 Date: Tue, 7 Mar 2006 11:07:35 +0100 (CET) X-X-Sender: derick@localhost To: Rasmus Lerdorf cc: PHP Developers Mailing List In-Reply-To: <440D56E0.9050200@lerdorf.com> Message-ID: References: <000001c641c9$80dbfad0$6e02a8c0@thinkpad> <11.E1.22029.BE55D044@pb1.pair.com> <440D56E0.9050200@lerdorf.com> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL From: derick@php.net (Derick Rethans) 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