Re: [PHP-DEV] Function caching... From: Zeev Suraski (zeev <email protected>)
Date: 12/14/00

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 <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>

--
Zeev Suraski <zeev <email protected>>
CTO, Zend Technologies Ltd. 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>