Re: PHP 4.0 Bug #5025 Updated: Segmentation faultwhen using deeply nested scripts

From: Date: Thu, 15 Jun 2000 03:54:01 +0000
Subject: Re: PHP 4.0 Bug #5025 Updated: Segmentation faultwhen using deeply nested scripts
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21380@lists.php.net to get a copy of this message
Precedence: bulk Hello Andi, On 15-Jun-00 02:27:36, you wrote: >There is a way to recover in Windows and we do. However, there isn't any >way in UNIX I know of. The only way is really to put an arbitrary limit on >the nesting level of function calls. Do we want that? It would add two >lines of code to each execute() call. >I'm not sure. I don't think it would hurt the performance if you make it an option that would be off by default (0 = no recursion testing), don't you think? PHP already has so many useful debugging options, that this would be another one that would be more helpful than the clueless segmentation faults that programmers may face if their scripts go into infinite recursion by accident. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.dev (#21380) next »