#23584 [Opn->Csd]: error line # reporting off by one with #!

From: Date: Wed, 14 May 2003 00:11:20 +0000
Subject: #23584 [Opn->Csd]: error line # reporting off by one with #!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39577@lists.php.net to get a copy of this message
ID: 23584 Updated by: sniper@php.net Reported By: benjamin at rqdq dot com -Status: Open +Status: Closed Bug Type: CGI related Operating System: linux PHP Version: 4.3.2RC2 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-05-11 15:11:49] benjamin at rqdq dot com this is another easy one... looks like the code that advances past any #!/usr/bin/php line at the begining of the script needs to advance the line#. all of my errors reported by php are off by 1 line for these types of scripts. i assume that it would affect all operating systems, but i am currently using 432rc2 on linux. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23584&edit=1

« previous php.bugs (#39577) next »