php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1061 include($undefined); causes a "Document contains no data";
Submitted: 1999-01-12 18:45 UTC Modified: 1999-07-25 12:26 UTC
From: cmv at privateworld dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.5 OS: Linux 2.0.35
Private report: No CVE-ID: None
 [1999-01-12 18:45 UTC] cmv at privateworld dot com
<?
echo "hello";
include($undefined);
?>

Inculding an undefined variable or a null string, will cause a "Document contains no data" message, regardless of any text that has been send to the browser before the include().

It should probably produce an error message instead.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-25 12:26 UTC] rasmus at cvs dot php dot net
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 23 02:01:28 2024 UTC