#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:52:10 +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-60406@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:
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)
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2004-06-05 16:33:34] key at kemcity dot ru
And I found, that when I change the $0d symbol with $0a symbol,
__LINES__ corrected. Replace inside of constructions like arrays [even
big ones] doesn't do anything.
The only problem is that my editor (FaR manager) uses $0d and $0a in
mixed order [i suppose exactly as previous newline], notepad uses
$0d$0a strictly. As far as I know, unix editor use the one symbol for
newline.
Is this a solution? To use only an $0d$0a for newline?
------------------------------------------------------------------------
[2004-06-05 16:24:48] derick@php.net
The URLs you provided don't work (can't be resolved).
------------------------------------------------------------------------
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