Re: [PHP] Filtering all output to STDERR
[email protected] (Marten Lehmann)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
> 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