Re: [PHP-DEV] *crash* on try to find out how many nesting levels are allowed From: Andi Gutmans (andi <email protected>)
Date: 07/09/00

At 16:39 09/07/00 +0200, waldschrott wrote:
>>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 :)
>
>?? Itīs in fact an infinite recursion, but Windows does not know that on
>level 2 or 3??? PHP *could* know that but Win32?

What do you mean?
What happens in Win32 is that when you reach a stack overflow it throws you
an exception which you can catch and recover from. In UNIX you pretty much
crash consistently.

Andi

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