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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 02:01:31 2024 UTC