Log all php error with Zend

2 messages Options
Embed this post
Permalink
Banana Johns () Log all php error with Zend
Reply Threaded More More options
Print post
Permalink
Hi,

How can I log all php error (E_ALL & E_NOTICE) with zend (Zend_Log_Writer_Firebug) ans send this errors to firephp ?

thank you for the answere.
Christoph Dorn () Re: Log all php error with Zend
Reply Threaded More More options
Print post
Permalink
You need to register your own error handler and log the errors. See [1] for inspiration.

[1] - http://code.google.com/p/firephp/source/browse/trunk/FirePHPCore/lib/FirePHPCore/FirePHP.class.php#336