php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12441 print line function?
Submitted: 2001-07-27 21:10 UTC Modified: 2001-08-12 15:18 UTC
From: yohgaki at hotmail dot com Assigned:
Status: Duplicate Package: Feature/Change Request
PHP Version: 4.0.6 OS:
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: yohgaki at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-07-27 21:10 UTC] yohgaki at hotmail dot com
How about to have a print function that appends newline?

println('some string'); 
// Append "\n","\r" or "\r\n" depends on setting

If newline character(s) could be specified by php.ini entry, script would be more portable.

I think it's much cleaner than have constant (or variable) like
print('some string'.NEWLINE);

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-12 15:18 UTC] sebastian@php.net
Duplicate of Bug #12428.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC