08-18-2008, 09:28 PM
|
#7 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Quote:
Originally Posted by xenon
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)
__________________
|
|
|