PHP 4.0 Bug #5778 Updated: error reporting always with the include file

From: Date: Tue, 25 Jul 2000 10:44:02 +0000
Subject: PHP 4.0 Bug #5778 Updated: error reporting always with the include file
Groups: php.dev 
Request: Send a blank email to php-dev+get-25967@lists.php.net to get a copy of this message
ID: 5778 User Update by: goba@php.net Status: Open Bug Type: Scripting Engine problem Description: error reporting always with the include file Error reporting always brings up the error in the required file. In my case include.php. I get such errors: Parse error: parse error in include.php on line 207 Warning: Failed to Connect in include.php on line 204 My include php has 188 lines.... The errors are actually in the files using the include.php file (on line 19 and 16 in these cases). But this is not a too friendly behavior... I am using: require "include.php"; to get this file in... Full Bug description available at: http://bugs.php.net/?id=5778

« previous php.dev (#25967) next »