You are here: Re: errors to stderr « PHP Programming Language « IT news, forums, messages
Re: errors to stderr

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация