Re: Function caching...
| From: | Zeev Suraski | Date: | Thu, 14 Dec 2000 13:20:23 +0000 |
| Subject: | Re: Function caching... | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41350@lists.php.net to get a copy of this message | ||
At 09:11 14/12/2000, Andi Gutmans wrote:
Why not: do {while(0) would do the job better ;)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:-- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/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 isGreat! 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