#19885 [Opn]: @dl() causes script to exit

From: Date: Sun, 13 Oct 2002 10:58:57 +0000
Subject: #19885 [Opn]: @dl() causes script to exit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22282@lists.php.net to get a copy of this message
ID: 19885 User updated by: nick@macaw.demon.co.uk Reported By: nick@macaw.demon.co.uk Status: Open Bug Type: Scripting Engine problem Operating System: NT4 PHP Version: 4.2.1 New Comment: In fact this is specific to threaded servers, such as Apache, and happens because the error is considered fatal. However the categorisation may be inappropriate because a script may have an appropriate handler to deal with all dl() failures, and not wish to have platform/server specific code. Previous Comments: ------------------------------------------------------------------------ [2002-10-13 05:31:35] nick@macaw.demon.co.uk Ok, so dl() doesn't yet work on windows and that's fine, but it should still be possible to call dl() on that platform and have no ill effects when suppressed with @. However, whilst the resultant error message is suppressed, script execution terminates. Suppression of other errors from dl() on Unix works as expected. Sniper: the following script will reproduce the problem. <? @dl('bug'); echo 'gub'; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19885&edit=1

« previous php.bugs (#22282) next »