On Sun, 03 Mar 2019 03:36:50, Sara Golemon wrote:
function println(string $x): void {
echo $x, PHP_EOL;
}
I hereby grant a public domain license to the above code and wish you
godspeed bundling it into a composer package to be enjoyed by users of
every active version of PHP.
my request was not "how to print a newline with PHP". the request is for PHP to
implement a builtin method that prints a newline *by default*. currently no
method exists that i know of.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php