When fatal error occurs is it possible to output also the backtrace in the
error log? The simple error message with file line
only is quite useless...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When fatal error occurs is it possible to output also the backtrace in the
error log? The simple error message with file line
only is quite useless...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think you need a PHP extension to do this. XDebug works rather nicely for
this.
On 31/08/2010, at 8:49 PM, Paul Freeman wrote:
When fatal error occurs is it possible to output also the backtrace in the
error log? The simple error message with file line
only is quite useless...
--
PHP
On 31 August 2010 09:49, Paul Freeman freem...@centrum.cz wrote:
When fatal error occurs is it possible to output also the backtrace in the
error log? The simple error message with file line
only is quite useless...
?php
namespace baz;
set_error_handler(
function($ErrNo, $ErrStr,
Thanks!
I didn't notice the register_shutdown_function function.
But it executes always I want to run it only to track fatal error. Also I
can't get the backtrace properly:( I can't use 5.3 so I guess it works
differently in 5.2
Richard Quadling wrote:
On 31 August 2010 09:49, Paul Freeman
On 1 September 2010 13:38, freem...@centrum.cz wrote:
Thanks!
I didn't notice the register_shutdown_function function.
But it executes always I want to run it only to track fatal error. Also I
can't get the backtrace properly:( I can't use 5.3 so I guess it works
differently in 5.2
Richard
6 matches
Mail list logo