|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
14 - 3 = ?
Subscribe to this entry?

 [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"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-30 07:59 UTC]
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.


PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 16:05:53 2022 UTC