Re: Filtering all output to STDERR

From: Date: Tue, 23 Mar 2010 10:28:29 +0000
Subject: Re: Filtering all output to STDERR
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-303131@lists.php.net to get a copy of this message
Have you tried with http://dk2.php.net/manual/en/function.error-reporting.php or just the @ operator?
Yes. But this does not work, because error levels and the @ operator only relate to errors thrown by the PHP runtime and have nothing to do with STDERR. But I need a way to close the STDERR file handle at the beginning of a script or at least catch and remove all output sent to STDERR. Regards Marten

« previous php.general (#303131) next »