ID: 16535
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Operating System: Mac OS X
PHP Version: 4.1.2
New Comment:
Related bug Bug #10631, refiled per that bug since I still see it.
Previous Comments:
------------------------------------------------------------------------
[2002-04-10 16:26:42] [EMAIL PROTECTED]
When a file is saved using Macintosh-style line breaks
('\r') and there is some kind of error in the script (maybe
a parse error, etc.) then the line number that is reported
is always less than the line it occured on. In my script PHP told me
line 84, but it was actually 93.
It's a fairly minor thing, but annoying nonetheless. A
workaround, obviously, is to make sure you save your
scripts with Unix line-breaks ('\n').
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16535&edit=1