Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20878 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62461 invoked by uid 1010); 30 Nov 2005 08:15:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62446 invoked from network); 30 Nov 2005 08:15:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Nov 2005 08:15:40 -0000 X-Host-Fingerprint: 66.249.82.204 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.204:34177] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E9/F1-14828-CAF5D834 for ; Wed, 30 Nov 2005 03:15:40 -0500 Received: by xproxy.gmail.com with SMTP id t10so1729292wxc for ; Wed, 30 Nov 2005 00:15:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HSTMA2RQKNcE/tjq29mv4YsfKPoaMMsC6sGNez8L+Meujbuf8RAHZC5Pad2IPVxSwsfPf9d8xqGm1wDA0eJwrngrH8COCleyhlJc/pl4lXPfQif5ZZ4/eREKvwk0CsYdhq7fVWh8frBpB3/sqD0jOXSx5spfNyWX60XAucuQMYE= Received: by 10.70.133.7 with SMTP id g7mr736968wxd; Wed, 30 Nov 2005 00:15:38 -0800 (PST) Received: by 10.70.10.7 with HTTP; Wed, 30 Nov 2005 00:15:38 -0800 (PST) Message-ID: <818043770511300015h6cbd2543l5f1429b997fcbca1@mail.gmail.com> Date: Wed, 30 Nov 2005 09:15:38 +0100 Sender: sebastian.kugler@gmail.com To: Ron Korving Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2B.E1.14828.4130D834@pb1.pair.com> <7f3ed2c30511292327p1ffae378n9c2bfb01bdb333d3@mail.gmail.com> Subject: Re: [PHP-DEV] Labeled Break (nothing at all whatsoever to do with GOTO) From: sk@webfactory.de (Sebastian Kugler) On 11/30/05, Ron Korving wrote: > I loved Joao Cruz Morais idea of using the 'as' keyword in this: > > while (true) as outer_cycle { > $i =3D 0; > while (true) > if($i++ =3D=3D 10) break outer_cycle; > } Me too - it's so stunningly obvious to understand at first sight, compared to while LABEL (cond) { Don't know of course if there are technical reasons against this proposal, just my 2 cents from the user's perspective. --Sebastian