php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46329 5.1.2 version of PHP appends errorlog with CRLF. 5.2.6 only with LF(Unix Style)
Submitted: 2008-10-17 13:08 UTC Modified: 2008-10-19 14:08 UTC
From: elebihan at sarl-roux dot fr Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.6 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: elebihan at sarl-roux dot fr
New email:
PHP Version: OS:

 

 [2008-10-17 13:08 UTC] 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....



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-19 14:08 UTC] jani@php.net
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


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Sep 16 03:00:01 2025 UTC