Error messages go to stderr

From: Date: Thu, 06 Sep 2001 17:41:32 +0000
Subject: Error messages go to stderr
Groups: php.dev 
Request: Send a blank email to php-dev+get-65271@lists.php.net to get a copy of this message
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/

« previous php.dev (#65271) next »