On Tue, 24 Apr 2007, Pawe? Stradomski wrote:

> Derick Rethans wrote:
> > On Tue, 24 Apr 2007, David Lindstrom wrote:
> > > Still, PHP should never segfault?
> >
> > Almost never... stack overflows are "okay".
> >
> 
> I' ve run into PHP segfaulting (infinte loop of two constructors) recently 
> and 
> I think it should not happen in any case - no matter if the PHP script 
> running is buggy or not. I makes debugging difficult and brings unpredicatble 
> results.

For debugging you install a debugger... which correctly warns you when 
this happens. See: http://xdebug.org/docs-settings.php#max_nesting_level

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to