Re: PHP 5.1
| From: | Stanislav Malyshev | Date: | Tue, 07 Jun 2005 15:21:19 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16523@lists.php.net to get a copy of this message | ||
IA>>1) Any state machine parser, such as the one frequently found in templating
IA>>systems. Using goto "alternatives" makes code quite cumbersome and not to
IA>>mention slow.
IA>>
IA>>2) Code flow control for error handling.
IA>>
IA>>3) A faster & safer alternative to recursive loops in many situations such
IA>>as tree drawing algorithms.
Here I see all kinds of spagetti code already brewing... Tree drawing with
goto... Yuck.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115