Re: Function caching...

From: Date: Thu, 14 Dec 2000 16:41:36 +0000
Subject: Re: Function caching...
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-41385@lists.php.net to get a copy of this message
Oops :) Andi At 15:20 14/12/00 +0200, Zeev Suraski wrote:
At 09:11 14/12/2000, Andi Gutmans wrote:
Why not: do {
        break; <- This can be your goto in a lot of cases
} while (1);
while(0) would do the job better ;)
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/ -- 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
-- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#41385) next »