#23584 [NEW]: error line # reporting off by one with #!

From: Date: Sun, 11 May 2003 20:11:49 +0000
Subject: #23584 [NEW]: error line # reporting off by one with #!
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39459@lists.php.net to get a copy of this message
From: benjamin at rqdq dot com Operating system: linux PHP version: 4.3.2RC2 PHP Bug Type: CGI related Bug description: error line # reporting off by one with #! 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 bug report at http://bugs.php.net/?id=23584&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23584&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23584&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23584&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23584&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23584&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23584&r=support Expected behavior: http://bugs.php.net/fix.php?id=23584&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23584&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23584&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23584&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23584&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23584&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23584&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23584&r=gnused

« previous php.bugs (#39459) next »