I've always wondered why PHP didn't have a built in command or function
that behaved as `echo` but with a EOL.
I propose not to modify `print` or `echo` (as this was rightly pointed out
to cause b/c). How difficult would it be to add a new statement and/or
function to the PHP core called `say` / `say()` that has an EOL?

This seems to me to be simple to do. The benefit is less code to type in
user land (ex: `say 'Hello World';` as opposed to `echo 'Hello World' .
PHP_EOL;`

Reply via email to