Running PHP 7.0.1 I have come across a problem, I use error_log('....'.PHP_EOL.'...');
but when I look at the log file, I get verbatim \n
in the output.
error_log is set up to use syslog, and ends up in apaches error_log. This is a CentOS 7 system.
Bypassing syslog is not an option as that removes the ability to use syslog forwarding to a central log server.