|
Posted by on 09/17/05 01:24
> I want to write all produced error messages (error, warning, notify,
> etc...) to STDERR.
> Is this possible without writing my own error handling routine?
I see, there is no way to handle E_ERROR, E_PARSE etc with user defined
error handling routine.
So I cannot use a user defined routine to write manual the error in
STDERR ( fwrite(STDERR, error_string); )
Can I configure php to send automatic the errors to STDERR instead of
STDOUT?
---------
The whole thing is this.
I have a java app which creates rtf files via php scripting calling
php.exe -n script.php
the STDIN is the serialized data from java app to php script.
the STDOUT is the exported rtf file.
I want the STDERR be all produced script errors/warnings which java app
shows in a dialog.
Navigation:
[Reply to this message]
|