custom error handling

From: Date: Tue, 07 Jan 2003 21:27:32 +0000
Subject: custom error handling
Groups: php.general 
Request: Send a blank email to php-general+get-130630@lists.php.net to get a copy of this message
hi there i am trying to build a ustom error handler for the pear db aswell as catch fatal and parse errors , unfortunatly the pear db error message wont give me back the file and the line where the error is, how can i determine the line and file where the error is caused ufortunatly the callback funtion with the params $errfile and $errline return the file that contains the trigger not the script itself !

« previous php.general (#130630) next »