Re: PHP (anti) crash policy?
| From: | Olaf van der Spek | Date: | Fri, 01 Oct 2004 14:15:41 +0000 |
| Subject: | Re: PHP (anti) crash policy? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198421@lists.php.net to get a copy of this message | ||
Manuel Lemos wrote:
Hello, On 10/01/2004 10:32 AM, Olaf Van Der Spek wrote:Because (some of) the PHP developers don't consider this a bug. I doubt the patch would be accepted.If you think that is a good idea, why don't you just write a patch and discuss about it in php-dev mailing list?That is not a crash. Your script making a PHP function request 600MB of memory. Since it exceeds the configured memory limit, there is no way to recover from memory exhaustion and the script just exits cleanly. ItBTW, I don't agree. It's easily possible to recover from this error. Just return NULL and the gzinflate function will return false.