Re: PHP 5.1
| From: | Ondrej Ivanič | Date: | Mon, 06 Jun 2005 08:08:15 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16407@lists.php.net to get a copy of this message | ||
Jani Taskinen wrote:
>> And the much needed goto for the next one (5.2/5.5/6.0 or whatever it
>> will be) ?
> I've found a lot of cases where this would have been nice to have
> and simplified the code too..
>
> So +1 from me. (wasn't there a patch for this already somewhere?)
When I move from functional to OO or generic programing I don't need use
'goto' statement anymore.
I think, better (cleaner) way is extend 'break' and 'continue' to accept
string as label name in local scope. (like java :)).
Implement 'goto' with possibility to jump anywhere is a step backwards...
So -1 from me to goto.
--
Ondrej Ivanic
(ondrej@kmit.sk)