Re: PHP 5.1
| From: | Stanislav Malyshev | Date: | Mon, 06 Jun 2005 12:18:12 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16422@lists.php.net to get a copy of this message | ||
IA>>Most common solution people choose to emulate exceptions often ends up being
IA>>recursive functions, those as well know in many instances result in crashes.
Eh? Only case I know when recursion may result in crash is if it's endless
recursion (or recursion for all effective purposes can be considered
endless - like one 100M functions deep). Do you know more cases?
IA>>Most PHP (internal or external) code does not use exceptions, just saying
IA>>"use exceptions" may work in Java, but certainly not in PHP.
Well, 100% of existing PHP code doesn't use goto either, so your argument
is not working.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115