For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > Getting the real file and line from pear errors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Getting the real file and line from pear errors
Dan Rossi

2005-05-09, 3:56 am

I have still yet to tweak my custom pear error handler, as most the
time the line and file that it returns in /usr/lib/php/PEAR.php and the
line of the error method called. Is there a way to get a backtrace of
two files up, ie my interface class, which composes a pear package
which then triggers the pear errors, collecting the file and line from
the pear package and rather than Pear itself. Lemme know.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com