Edit report at https://bugs.php.net/bug.php?id=21938&edit=1

 ID:                 21938
 Comment by:         noemail at noemail dot com
 Reported by:        arne dot brachhold at co4 dot de
 Summary:            Wrong error line numbers
 Status:             No Feedback
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Windows 2000
 PHP Version:        4.3.1-dev
 Block user comment: N
 Private report:     N

 New Comment:

This problem occurs when the line breaks are in different format.
Change the line break style to Dos (CR+LF) or Unix (LF) and the problem will 
disapper


Previous Comments:
------------------------------------------------------------------------
[2003-02-20 08:04:37] sni...@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------
[2003-02-13 02:21:22] sni...@php.net

What was the result when testing with CGI binary?
(on command line!)

I can't reproduce this with even over 1000 lines of code..


------------------------------------------------------------------------
[2003-02-05 03:45:55] arne dot brachhold at co4 dot de

It shows the correct line on short scripts like yours.
But when I create a script, write 20 times

if(isset($blubb)) {


}

ans then blubb(); which is now on line 88, it tells me the error is on line 66. 
As longer the script is as higher is the difference.

Sorry at the moment i don't have the time to test this with the CGI Binary. But 
i can do this on weekend.

------------------------------------------------------------------------
[2003-02-04 18:19:09] sni...@php.net

Using PHP 4.3.1-dev and running this script:

<?php

   blubb();

?>

What line is the error reported on? (using PHP CLI binary)
And what about with PHP CGI binary ?

For me, it says the error is on line 3, which is correct.

------------------------------------------------------------------------
[2003-01-30 05:41:12] arne dot brachhold at co4 dot de

Sorry, this doesn't really help. The numbers are nearer to the right position 
now, but not correct.

Displayed: ..in Line 125
Correct Position: 138

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


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

    https://bugs.php.net/bug.php?id=21938


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

Reply via email to