ID: 13938 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment:
Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2001-12-18 13:47:14] [EMAIL PROTECTED] Bug is still present, behaving exactly as with 4.0.6. Using windows-style files, line numbers are reported as (ActualLineNumber * 2) - 1 Using Unix-style files, line numbers are reported correctly. All you have to do to replicate the error is to create a bogus line of php code, something that will report an error, save it in CR+LF format (Windows style vs Unix LF only) and execute. If it's really necessary for me to create a small test script and e-mail, please let me know. ------------------------------------------------------------------------ [2001-12-14 14:11:52] [EMAIL PROTECTED] Originator of this BR: please make a zipped version of such a bogus behaving script for download so we can play with it. ------------------------------------------------------------------------ [2001-12-14 13:30:01] [EMAIL PROTECTED] Could you try 4.1.0 and report the result ? ------------------------------------------------------------------------ [2001-11-10 11:56:55] [EMAIL PROTECTED] I'm always using Windows-newlines on Windows. But I never experienced this, neither with the Apache-module, nor with the CGI-executable. ------------------------------------------------------------------------ [2001-11-09 10:54:50] [EMAIL PROTECTED] Ok, Gotchya. If it would help at all, I can change to Unix style with Homesite and let you know if the line is correctly identified. Also, I'm very suprised that this has not been reported previously. 4.0.6 has been out for awhile, and I'm sure there must be some other Windows PHP users out there. Is there any way that this has anything to do with the ISAPI dll I'm using vs cgi, or possibly the obscure web server software I'm using? I'm using a web server called Sambar Server (www.sambar.com), which is not widely used. I just figure somebody else would be complaining about this if it happened under IIS. ------------------------------------------------------------------------ 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/13938 -- Edit this bug report at http://bugs.php.net/?id=13938&edit=1
