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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmv at privateworld dot com
New email:
PHP Version: OS:

 

 [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 01:01:29 2024 UTC