#28643 [Bgs]: __LINE__ miscounts by several lines [script without a # sign at the top]
| From: | key at kemcity dot ru | Date: | Sat, 05 Jun 2004 14:55:41 +0000 |
| Subject: | #28643 [Bgs]: __LINE__ miscounts by several lines [script without a # sign at the top] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60408@lists.php.net to get a copy of this message | ||
ID: 28643
User updated by: key at kemcity dot ru
Reported By: key at kemcity dot ru
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: possibly any
PHP Version: Irrelevant
New Comment:
not any but every.
Excuse me for a lot of msgs.
Previous Comments:
------------------------------------------------------------------------
[2004-06-05 16:54:42] key at kemcity dot ru
Only after changing any $0d to $0d$0a I've got right result. So, the
right definition is: use only $0d$0a in your scripts to get right
__LINE__ count. Am I right?
------------------------------------------------------------------------
[2004-06-05 16:52:09] key at kemcity dot ru
I've changed all newlines in file to $0d. There is no any $0a in file.
Is this a solution? Error still out. Check the
http://soft.kemcity.ru/test/index3.php and
http://soft.kemcity.ru/test/index3.txt (source)
------------------------------------------------------------------------
[2004-06-05 16:44:42] key at kemcity dot ru
ok. I'll try,. Thanks for solution. It was a pleasure to get the answer
so soon. ;) And anyway I can't understand why I can't use the
deffierent kind of newline symbol ;)))
------------------------------------------------------------------------
[2004-06-05 16:41:56] key at kemcity dot ru
Ok. Try the next urls:
http://soft.kemcity.ru/test/index.htm or
http://users.info.kuzbass.net/~key/test/index.htm
Direct Links:
Test1
http://soft.kemcity.ru/test/index1.php or
http://users.info.kuzbass.net/~key/test/index1.php
Test2
http://soft.kemcity.ru/test/index2.php or
http://users.info.kuzbass.net/~key/test/index2.php
Source Code1:
http://soft.kemcity.ru/test/index1.txt or
http://users.info.kuzbass.net/~key/test/index1.txt
Source Code2:
http://soft.kemcity.ru/test/index1.txt or
http://users.info.kuzbass.net/~key/test/index1.txt
------------------------------------------------------------------------
[2004-06-05 16:35:34] derick@php.net
No, you just need to use ONE style of line endings, this is not a bug
and thus we mark it as bogus.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28643
--
Edit this bug report at http://bugs.php.net/?id=28643&edit=1