Copied from wiki.php.net, last synchronized Oct 13, 2026 11:54 UTC
This RFC seeks to add options to the CLI SAPI that would enable all and no error display.
The proposed option to display all errors would be -W, with - -strict as the long form option. No argument would be accepted; this is a purely boolean option.
Similarly, the option to hide all errors would be -Q, with - -quiet as the long form option.
-w (which doesn't enable use strict, although I suspect most Perl users wish it did). Ruby also has -w.php -d display_errors=1 -d error_reporting=-1 and php -d display_errors=0 -d error_reporting=0, respectively.-W and -Q): http://www.adamharvey.name/patches/php-cli-strict-quiet.patch.txt-W only): http://www.adamharvey.name/patches/php-cli-strict.patch.txt-Q option in response to IRC and mailing list feedback.