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
 [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 12:01:31 2024 UTC