Why does Off turn off error display on standard output?
I suppose because error_log is not set. If it is installed, errors are not displayed. If it is not installed, PHP will use the SAPI error log, which is stderr (= stdout) in the CLI. Cm:
ini_set('display_errors', 0);
echo 1 / 0;
ini_set('error_log', '/dev/null');
echo 1 / 0;
Why do both stdout and stderr end up printing to both outputs at the same time?
SAPI, stdout (display_errors = on). , , , SAPI stderr, .