#46329 [Opn->Bgs]: 5.1.2 version of PHP appends errorlog with CRLF. 5.2.6 only with LF(Unix Style)
| From: | jani@php.net | Date: | Sun, 19 Oct 2008 14:08:58 +0000 |
| Subject: | #46329 [Opn->Bgs]: 5.1.2 version of PHP appends errorlog with CRLF. 5.2.6 only with LF(Unix Style) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129838@lists.php.net to get a copy of this message | ||
ID: 46329
Updated by: jani@php.net
Reported By: elebihan at sarl-roux dot fr
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows
PHP Version: 5.2.6
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2008-10-17 13:08:06] elebihan at sarl-roux dot fr
Description:
------------
In previous version - 5.1.2 -, error log produced by PHP were in
standard windows form: each line ends with CRLF.
With 5.2.6, each line end with solely LF.
Reproduce code:
---------------
<?php
echo $glou
echo $glou2
?>
Expected result:
----------------
[17-Oct-2008 11:37:56] PHP Notice: Undefined variable: glou in
C:\xampp\htdocs\test.php on line 2 (CRLF)
[17-Oct-2008 11:37:56] PHP Notice: Undefined variable: glou in
C:\xampp\htdocs\test.php on line 3 (CRLF)
Actual result:
--------------
[17-Oct-2008 11:37:56] PHP Notice: Undefined variable: glou in
C:\xampp\htdocs\test.php on line 2 (LF)[17-Oct-2008 11:37:56] PHP
Notice: Undefined variable: glou in C:\xampp\htdocs\test.php on line
3(LF)
(With a standard Tail line reader). Crimson Editor (for example), reads
it correctly because it can read Unix style file....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46329&edit=1