Developers, Romans, countrymen,

I'd like to propose the addition of a -W switch to the CLI SAPI which
would enable the display of errors and maximum error reporting. This
brings us into line with other languages such as Perl, and allows us
to evangelise to users that they should run "php -W script.php" as the
preferred way of developing and running new, E_STRICT-compliant
scripts.

The RFC is at https://wiki.php.net/rfc/cli-strict, and comes with a
patch, which is accessible at
http://www.adamharvey.name/patches/php-cli-strict.patch.txt. If the
response isn't overwhelmingly negative and we don't get caught up in
discussions for the next few days, I'll look at calling for a vote in
a week or so (given it's not a language-level change).

Thanks,

Adam

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to