On 5 July 2011 16:33, Adam Harvey <ahar...@php.net> wrote: > 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
Bikesheding thought ... -V, --verbose That could get interesting ... C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose Non bikeshedding thought ... Being able to enable full error reporting at the command line has to be complimented though by fully disabling error reporting ... -Q, --quiet or -S, --silent Question, ... When does the ini file get read and processed in regards to the command line params? Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php