Hi internals,

I've created a new RFC https://wiki.php.net/rfc/println 
This proposes adding a global function to PHP to
print a string followed by a unix newline (`\n`).

Printing a string followed by a newline to stdout is a commonly performed 
operation in many applications and programming languages.
Many programming languages provide a helper function to do this specifically, 
for readability and convenience.
The choice of end of line string may differ, but many recent programming 
languages will unconditionally use the unix newline,
to avoid unexpected differences in behavior between platforms.

I've looked over prior related discussions such as 
https://externals.io/message/104545,
and I've written down the reasons for my name choice and newline choice in the 
RFC.

Any other feedback or elaboration on discussions?

Thanks,
- Tyson
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to