Re: Function caching...

From: Date: Thu, 14 Dec 2000 07:11:57 +0000
Subject: Re: Function caching...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41296@lists.php.net to get a copy of this message
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@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#41296) next »