View Single Post
Old 08-18-2008, 09:28 PM   #7 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Quote:
Originally Posted by xenon View Post
Or, there is also the Reflection class (php 5+). It provides you waaay more info than that little function.
Reflection does not provide the information he want in this case because it does not provide a stack trace like debug_backtrace().

Combining a custom error handler set though set_error_handler() with debug_backtrace() makes it possible to show where the error occured where Reflection only can be used to extend the information from debug_backtrace() =)

(That is if I understand his problem correctly ofcourse)
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote