php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11190 now Newline
Submitted: 2001-05-30 05:30 UTC Modified: 2001-05-30 07:59 UTC
From: rainer dot kerber at web dot de Assigned:
Status: Not a bug Package: Strings related
PHP Version: 4.0.4pl1 OS: Windows NT
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rainer dot kerber at web dot de
New email:
PHP Version: OS:

 

 [2001-05-30 05:30 UTC] rainer dot kerber at web dot de
I can't write a newline, if I code the following:

print "text \n"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-30 07:59 UTC] sniper@php.net
In web you would use '<br>' but I guess you knew this.

Try "\n\r" or "\r\n" instead. As Windows seems to use that.
Anyway, not a bug in PHP.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 00:01:30 2024 UTC