Bug #13938: Bad line numbers reported for parse errors

From: Date: Mon, 05 Nov 2001 21:56:42 +0000
Subject: Bug #13938: Bad line numbers reported for parse errors
Groups: php.dev 
Request: Send a blank email to php-dev+get-69661@lists.php.net to get a copy of this message
From: troy@leaver.com Operating system: WinNT 4.0 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Bad line numbers reported for parse errors I saw some previous reports of this bug in earlier versions of PHP 4. It's back in 4.0.6, at least on WinNT 4.0. Here's an extremely simple sample script: <% $test = "This is an improperly terminated string; %> This script has a total of 5 lines. The error generated to the browser when this script is accessed is: Parse error: parse error in d:\users\tleaver\leaver.com\htdocs\bad.php on line 9 Line 9 does not exist. Unlike previous reports of this bug which I've seen, this bug does not depend on includes. -- Edit bug report at: http://bugs.php.net/?id=13938&edit=1

« previous php.dev (#69661) next »