|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-10 16:27 UTC] danradigan at yahoo dot com
[2002-04-10 16:33 UTC] derick@php.net
[2002-08-22 01:00 UTC] php-bugs at lists dot php dot net
[2003-06-25 17:01 UTC] dradigan at macromedia dot com
[2003-06-25 17:03 UTC] dradigan at macromedia dot com
[2006-02-09 17:25 UTC] mpaugh at voicenet dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
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').