View Single Post
Old 09-06-2007, 03:11 PM   #6 (permalink)
Karl
The Reckoner
Advanced Programmer Top Contributor 
 
Karl's Avatar
 
Join Date: Sep 2007
Posts: 437
Thanks: 22
Karl is on a distinguished road
Default

Here's an updated example that shows how it can be used for outputting the debug backtrace to an error log.

PHP Code:
ob_start();
debug_print_backtrace();
$szLog ob_get_clean();

error_log($szLog); 
Karl is offline  
Reply With Quote