Re: [RFC] -W option for CLI "strict mode"

From: Date: Wed, 06 Jul 2011 15:46:07 +0000
Subject: Re: [RFC] -W option for CLI "strict mode"
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-53764@lists.php.net to get a copy of this message
2011/7/6 Johannes Schlüter <johannes@schlueters.de>: > On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: >> C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose > > That happens with all options. >   $ php -n run-tests.php -n > You missed out the -- That separates arguments from php.exe and the script. As long as one remembers that, they should be OK. >> 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 > > What would happen with logging then? Will that be switched off, too? If error_reporting() is set to 0, what errors can be generated? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

« previous php.internals (#53764) next »