you can get a backtrace. From php5 you can use debug_print_backtrace(). if you couple this with an error handling routine, you get quite a powerful debugger. for older versions of php, you can use debug_backtrace() and parse the information yourself.
I have a library userdefined function and it would be nice to know which program/script called the userdefined function so that I could trace which program/script is sending in incorrectly formatted requests that cause warning messages but not error messages.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.