Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:21916 php.internals:21917 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74533 invoked by uid 1010); 18 Feb 2006 19:31:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74515 invoked from network); 18 Feb 2006 19:31:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2006 19:31:13 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:10865] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E8/A5-23065-2D577F34 for ; Sat, 18 Feb 2006 14:30:27 -0500 Received: (qmail 1528 invoked from network); 18 Feb 2006 19:30:21 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 18 Feb 2006 19:30:21 -0000 Message-ID: <7.0.1.0.2.20060218112459.03e617c0@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sat, 18 Feb 2006 11:30:11 -0800 To: "Steph Fox" ,"internals" In-Reply-To: <045701c634af$050b5df0$6402a8c0@foxbox> References: <045701c634af$050b5df0$6402a8c0@foxbox> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] True labelled breaks From: andi@zend.com (Andi Gutmans) I think that in 1997 when break/continue n where implemented it would have been a nice idea, but at this stage except for being more elegant than break/continue n it doesn't truly add anything substantial to PHP (and as you already mentioned it's orthogonal to the goto discussion). I think having more than 1 way of doing the same thing, in this case, might just end up confusing people developing with PHP (i.e. the Perl way :) Just for the record I am coming at this from an open mind. Dmitry did spend time on this patch, etc... I'd recommend to bed it once and for all. At 09:16 AM 2/18/2006, Steph Fox wrote: >Guys and guyess, > >Sara and Dmitry's patch to introduce labelled breaks was discussed >on internals@ ever-so-briefly at the beginning of December, but >there was never any decision made over it. > >Given that practically everyone who survived the preceding GOTO >discussion seemed to think it was a good idea at the time, could you >please re-visit it, evaluate it, discuss it (as opposed to talking >about GOTO, which is unrelated) and either OK it or put it to bed >for once and for all? > >Relevant summary is at http://www.zend.com/zend/week/week265.php#Heading3 >Relevant patch is at http://www.zend.com/zend/week/pat/index.php > >And if it's worth anything, +1 from me. > >- Steph >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php