How can I track errors from a called function?
View Single Post
08-18-2008, 09:28 PM
Join Date: Sep 2007
Originally Posted by
Or, there is also the
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)
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle