Re: PHP 5.1
| From: | Stanislav Malyshev | Date: | Tue, 07 Jun 2005 12:00:00 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16487@lists.php.net to get a copy of this message | ||
GS>>I don't think I've ever heard Perl or C maligned on the basis of their
GS>>support for goto. Perhaps I just travel in the wrong circles.
I didn't ever saw any need in Perl goto - except for goto& construct which
isn't goto at all. As for C goto - it's usually used as replacement for
multilevel break/continue or in weird code like lexx parsers, and is
generally frowned upon on other occasions (though, of course, in places
like OS kernel code when every bit of performance counts one may need to
use goto's in numbers - but that's entirely different realm).
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115