Re: Error messages go to stderr
| From: | Brian Moon | Date: | Thu, 06 Sep 2001 18:32:32 +0000 |
| Subject: | Re: Error messages go to stderr | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65274@lists.php.net to get a copy of this message | ||
Well, i just tried the latest CVS and it does not do it. So, I guess I will
forget about that.
Brian Moon
------------------------------------------
dealnews.com, Inc.
Makers of dealnews & dealmac
http://dealnews.com/ | http://dealmac.com/
----- Original Message -----
From: "Brian Moon" <brianm@dealnews.com>
To: <php-dev@lists.php.net>
Sent: Thursday, September 06, 2001 12:41 PM
Subject: [PHP-DEV] Error messages go to stderr
> Hi,
>
> When using the -q option all errors are reported twice. Once to stdout
and
> once to stderr like so:
>
> test.php(3) : Warning - Invalid argument supplied for foreach()
> Warning: Invalid argument supplied for foreach() in test.php on line 3
>
> I am trying to put together a patch for a new command line option that
would
> in effect be what -q does plus some other things like turn off output
> buffering, turn html errors off, ignore error_???pend_string settings.
>
> If the errors are already going to stderr though, there is no reason to
send
> them to stdout for what I want to do. I think this was added in 4.0.6 as
my
> 4.0.5 install does not do it. however I can not find any code that does
it.
>
> Any ideas.
>
> Brian Moon
> ------------------------------------------
> dealnews.com, Inc.
> Makers of dealnews & dealmac
> http://dealnews.com/ |
> http://dealmac.com/
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>