On Wed, 2011-07-06 at 16:46 +0100, Richard Quadling wrote:
> 2011/7/6 Johannes Schlüter <johan...@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.

This is not needed usually:

$ cat t.php
<?php
print_r($argv);


$ php -n t.php -n
Array
(
    [0] => t.php
    [1] => -n
)


> >> 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?

Well that's exactly the question: Is that expected or is it just
supposed to be silent on the console only? (same for -W btw.)

johannes


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

Reply via email to