Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22238 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98625 invoked by uid 1010); 8 Mar 2006 00:20:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98609 invoked from network); 8 Mar 2006 00:20:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2006 00:20:29 -0000 X-Host-Fingerprint: 202.81.246.113 246-113.netfront.net Received: from ([202.81.246.113:49448] helo=akbkhome.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CA/C9-27106-A432E044 for ; Tue, 07 Mar 2006 19:20:27 -0500 Received: from [192.168.0.184] (helo=[192.168.0.184]) by akbkhome.com with esmtp (Exim 4.50) id 1FGmSX-00036o-F7; Wed, 08 Mar 2006 08:23:23 +0800 Message-ID: <440E2381.2060006@akbkhome.com> Date: Wed, 08 Mar 2006 08:21:21 +0800 User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steph Fox CC: John Coggeshall , Robert Cummings , Dmitry Stogov , internals@lists.php.net References: <000001c641c9$80dbfad0$6e02a8c0@thinkpad><1141753844.23691.3.camel@blobule.suds> <1141754293.6113.1.camel@localhost.localdomain> <0ccc01c64213$7fedcaa0$6402a8c0@foxbox> In-Reply-To: <0ccc01c64213$7fedcaa0$6402a8c0@foxbox> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: "cleared badlog" Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL From: alan@akbkhome.com (Alan Knowles) 2) +1 Since I can see it's use, and I've already seen 101 ways to write spagetti code, so 102 ways isnt much different ;) Regards Alan Steph Fox wrote: > I took that as (2) +1, (4) +1. > > Current raw totals amongst those who contribute to the PHP core: (1) > +5.5, (2) +9.5, (3) +0, (4) 2 > > Still to vote: Derick, Marcus, George, Sascha, Hartmut, Chregu, > Johannes, Sebastian, Stefan, apologies if I missed any names here. > > Current raw totals amongst all votes: (1) +7.5, (2) +13, (3) +0.5, (4) 0 > > Still notably haven't heard from: Lukas, Nuno, Alan K, Sean... > > > ----- Original Message ----- From: "John Coggeshall" > > To: "Robert Cummings" > Cc: "Dmitry Stogov" ; > Sent: Tuesday, March 07, 2006 7:58 PM > Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL > > >> if($choice == 1) { >> goto bad; >> } else if ($choice == 2) { >> goto good; >> } else if ($choice == 3) { >> goto bad; >> } else if ($choice == 4) { >> goto good; >> } >> >> good: >> $vote++; >> bad: >> return; >> >> On Tue, 2006-03-07 at 12:50 -0500, Robert Cummings wrote: >> >>> On Tue, 2006-03-07 at 04:28, 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 >>> >>> 2) +1 >>> >>> What's the policy on voting btw? Am I allowed? >>> >>> Cheers, >>> Rob. >>> -- >>> .------------------------------------------------------------. >>> | InterJinn Application Framework - http://www.interjinn.com | >>> :------------------------------------------------------------: >>> | An application and templating framework for PHP. Boasting | >>> | a powerful, scalable system for accessing system services | >>> | such as forms, properties, sessions, and caches. InterJinn | >>> | also provides an extremely flexible architecture for | >>> | creating re-usable components quickly and easily. | >>> `------------------------------------------------------------' >>> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> >> __________ NOD32 1.1380 (20060125) Information __________ >> >> This message was checked by NOD32 antivirus system. >> http://www.eset.com >> >> >