|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2001-08-12 15:18 UTC] sebastian@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 16:00:01 2025 UTC | 
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);