Re: Re: if elseif elseif elseif....
| From: | Clancy | Date: | Sat, 07 Mar 2009 00:29:41 +0000 |
| Subject: | Re: Re: if elseif elseif elseif.... | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289511@lists.php.net to get a copy of this message | ||
On Fri, 6 Mar 2009 08:53:44 -0500, danbrown@php.net (Daniel Brown) wrote:
>On Fri, Mar 6, 2009 at 00:12, Clancy <clancy_1@cybec.com.au> wrote:
>>
>> Don't take me too seriously on this. But it riles me that the same peoplewho threw out
>> the
>> GOTO as being too dangerous could then introduce the break statement which, as I said,
>> it's like a GOTO without a target. As a long-time assembly programmer, I found the
>> judicious use of GOTO's made for far clearer code than the mess of nested braces I am
>> forced to use in PHP.
>
> Then you'll be happy with the advent of PHP6:
>
> http://php.net/goto
Great news! ...... Now ALL I have to do is to persuade my host to update from 4.3.9. (or
maybe switch!)