Bug #12441: print line function?
| From: | yohgaki at hotmail dot com | Date: | Sat, 28 Jul 2001 01:10:41 +0000 |
| Subject: | Bug #12441: print line function? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61288@lists.php.net to get a copy of this message | ||
From: yohgaki@hotmail.com
Operating system:
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: print line function?
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);
--
Edit bug report at: http://bugs.php.net/?id=12441&edit=1