Re: *crash* on try to find out how many nesting levels are allowed
| From: | Andi Gutmans | Date: | Sun, 09 Jul 2000 14:18:58 +0000 |
| Subject: | Re: *crash* on try to find out how many nesting levels are allowed | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23913@lists.php.net to get a copy of this message | ||
By the way, under Windows we manage to recover from this because the Win32 OS throws a nice exception. Under UNIX I don't know a way of recovering...
Try not to do infinite recursion :)
Andi
At 05:09 PM 7/9/00 +0300, Stanislav Malyshev wrote:
w>> I wanted to find out how many nesting levels are allowed, but after w>> class "a" gets instanciated from inside of "b", PHP crashes, that should w>> not be. And what did you expect? You tried to crash it, you succeeded. Infinite recursion leads to crash. Try it in C, you get the same. -- Stanislav Malyshev stas@zend.com +972-3-6139665 -- 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/