|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19885 @dl() causes script to exit
Submitted: 2002-10-13 05:31 UTC Modified: 2002-10-13 09:27 UTC
From: nick at macaw dot demon dot co dot uk Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.2.1 OS: NT4
Private report: No CVE-ID: None
 [2002-10-13 05:31 UTC] nick at macaw dot demon dot co dot 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'; ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-13 05:58 UTC] nick at macaw dot demon dot co dot uk
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.
 [2002-10-13 09:27 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 07:01:24 2021 UTC