php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #29722 Error log newlines style
Submitted: 2004-08-17 17:38 UTC Modified: 2015-01-08 23:11 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: barnaby dot scott at uk dot wanadoo dot com Assigned: ajf (profile)
Status: Closed Package: *General Issues
PHP Version: 5.0.1 OS: Win XP
Private report: No CVE-ID: None
 [2004-08-17 17:38 UTC] barnaby dot scott at uk dot wanadoo dot com
Description:
------------
I have just been looking through my error log on my development machine, and when opened with notepad noticed that all of the errors were written to one line. They were all formatted correctly, but every single error was on one line.
Looking a little deeper with a text editor worth using, I can see that the newlines are still there.
So guess that you are writing a Unix style newline (\n) rather than a Windows style newline (\r\n). 
The only thing is that you used to use a Windows style newline when on Windows.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-17 17:41 UTC] barnaby dot scott at uk dot wanadoo dot com
Sorry I meant to say that you used a windows style newline with PHP 4.* on windows
 [2015-01-08 23:11 UTC] ajf@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: ajf
 [2015-01-08 23:11 UTC] ajf@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

So, this has been fixed in 5, has it?

If not, please tell me and I'll reopen.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 14:00:03 2025 UTC