Getting the real file and line from pear errors

From: Date: Mon, 09 May 2005 02:17:39 +0000
Subject: Getting the real file and line from pear errors
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19116@lists.php.net to get a copy of this message
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.

« previous php.pear.general (#19116) next »