Re: PHP (anti) crash policy?

From: Date: Sat, 02 Oct 2004 21:01:45 +0000
Subject: Re: PHP (anti) crash policy?
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.general 
Request: Send a blank email to php-general+get-198509@lists.php.net to get a copy of this message
Manuel Lemos wrote:
AFAIK PHP runs safely in multi-threaded servers. What you can't expect is that PHP handles abnormal situations caused by flaws in the external libraries that PHP links with.
When I link with the same library in a C app, this 'abnormal situation' just results in a normal return from 'gzinflate' with an error value. So why is it a flaw in code from zlib? Maybe you should try this script on a multi-threaded webserver. Is this also caused by flaws in external libraries? <?php
    function f()
    {
        f();
    }
    f();
?>

« previous php.general (#198509) next »