PHP 4.0 Bug #4063: Parser when detect error display wrong script name and line when it found error
| From: | sitnikov at infonet dot ee | Date: | Thu, 06 Apr 2000 20:27:56 +0000 |
| Subject: | PHP 4.0 Bug #4063: Parser when detect error display wrong script name and line when it found error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17689@lists.php.net to get a copy of this message | ||
From: sitnikov@infonet.ee
Operating system: windows 2000
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Scripting Engine problem
Bug description: Parser when detect error display wrong script name and line when it found error
I have 3 scripts common.inc.php,public.inc.php,index.php
common.inc.php
<? require("public.inc.php");
.....
$a = //line 296
?>
index.php
<? require("common.inc.php");?>
In browser we can see
Parse error: parse error in public.inc.php3 on line 556
public.inc.php have 293 line