Bug #1061: include($undefined); causes a "Document contains no data";

From: Date: Tue, 12 Jan 1999 23:45:20 +0000
Subject: Bug #1061: include($undefined); causes a "Document contains no data";
Groups: php.dev 
Request: Send a blank email to php-dev+get-3503@lists.php.net to get a copy of this message
From: cmv@privateworld.com Operating system: Linux 2.0.35 PHP version: 3.0.5 PHP Bug Type: Reproduceable crash Bug description: include($undefined); causes a "Document contains no data"; <? 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. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3503) next »