ID:               28643
 User updated by:  key at kemcity dot ru
-Reported By:      s at vtit dot kuzstu dot ru
+Reported By:      key at kemcity dot ru
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: possibly any
 PHP Version:      Irrelevant
 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------

[2004-06-05 16:24:48] [EMAIL PROTECTED]

The URLs you provided don't work (can't be resolved). 

------------------------------------------------------------------------

[2004-06-05 16:06:11] key at kemcity dot ru

Description:
------------
While debugging and getting some error I receive the error in wrong
line number. I suppose strict errors, not like a missing bracket or
something like that. For example unknown method, variable and something
like that. So, line number can be defined surely. After than I've
played with  __LINE__ and I've got a result. It reported some strange
number of line. I suppose it's linked to CR, LF: i can reproduce this
bug hard ;) So, the url is included in bugreport. Good luck. I had this
bug before and find it very annoying. Some replics of others in the
Internet doesn't answer at all.
P.S. Script doesn't have a # sign at the top.

Reproduce code:
---------------
The page with links to 2 tests and 2 source codes:
 http://key.users.kemcity.ru/

Direct Links
 Test1:
  http://key.users.kemcity.ru/index1.php
 Test2:
  http://key.users.kemcity.ru/index2.php

Source Code
 Source1:
  http://key.users.kemcity.ru/index1.txt
 Source2:
  http://key.users.kemcity.ru/index2.txt


Expected result:
----------------
Test1:
Does 10=10? [/www/htdocs/users/homepage/key/index1.php]
Test2:
Does 7=7? [/www/htdocs/users/homepage/key/index2.php]


Actual result:
--------------
Test1:
Does 4=10? [/www/htdocs/users/homepage/key/index1.php]
Test2:
Does 4=7? [/www/htdocs/users/homepage/key/index2.php]



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28643&edit=1

Reply via email to