Date: 12/14/00
- Next message: Peter Bowen: "Re: [PHP-DEV] Could some kind soul review these patches please."
- Previous message: Chris: "Re: [PHP-DEV] How to compile new PHP runtime function"
- In reply to: Ulf Wendel: "Re: [PHP-DEV] Function caching..."
- Reply: Kristian Köhntopp: "Re: [PHP-DEV] Function caching..."
- Reply: Zeev Suraski: "Re: [PHP-DEV] Function caching..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Why not:
do {
break; <- This can be your goto in a lot of cases
} while (1);
I really don't like goto although I admit that once in a zillion years it
comes in handy.
Andi
At 09:09 PM 12/13/00 +0100, Ulf Wendel wrote:
>Rasmus Lerdorf wrote:
> >
> > > But the code looks like a big chunk of randomly selected characters. Sad
> > > enough, there's no GOTO in PHP to make this code readable.
> >
> > Sure there is
>
>Great! It's hidden pretty well, could not find it in the Parser Source
>nor in the docs. Of course it would be great to see GOTO in PASIC. To
>keep consistant we should implement GOSUB as well. What about the
>Labels? Will we use linenumbers instead of crear text labels? If so
>RENUM would be great.
>
>By the way I'm not the only guy requesting GOTO. The're others on PHP-DB
>that would love to see it.
>
>Ulf
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Peter Bowen: "Re: [PHP-DEV] Could some kind soul review these patches please."
- Previous message: Chris: "Re: [PHP-DEV] How to compile new PHP runtime function"
- In reply to: Ulf Wendel: "Re: [PHP-DEV] Function caching..."
- Reply: Kristian Köhntopp: "Re: [PHP-DEV] Function caching..."
- Reply: Zeev Suraski: "Re: [PHP-DEV] Function caching..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

