Re: GOTO and/or BREAK LABEL
| From: | Alan Knowles | Date: | Wed, 08 Mar 2006 00:21:21 +0000 |
| Subject: | Re: GOTO and/or BREAK LABEL | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22238@lists.php.net to get a copy of this message | ||
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" <john@coggeshall.org> To: "Robert Cummings" <robert@interjinn.com> Cc: "Dmitry Stogov" <dmitry@zend.com>; <internals@lists.php.net> Sent: Tuesday, March 07, 2006 7:58 PM Subject: Re: [PHP-DEV] GOTO and/or BREAK LABELif($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:Hi, Because of some confused people I reverted "break label" patch andOn Tue, 2006-03-07 at 04:28, Dmitry Stogov wrote: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) nothingpost > it2) +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 |-- 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| also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. |`------------------------------------------------------------'