Re: Stack trace()

From: Date: Fri, 30 Jun 2000 21:16:25 +0000
Subject: Re: Stack trace()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4155@lists.php.net to get a copy of this message
In article <Pine.LNX.4.21.0006221943160.2022-100000@aturner.infonautics.com>, aturner@infonautics.com (Alex Turner) wrote: > I have a class that I use for database abstraction called DBAcess. I am > calling various db functions like ora_parse, and am preceding with the @ > operator. If the call fails, the error message is set in php_errormsg, > which is cool, but there are two things missing. Firstly the line number > of the error, and secondly a stack trace of the error. Is there any way > to access these things. __LINE__ is the current line number, though that will be "off" by a few if you use it in your error-reporting instead of right at the error itself... I don't know of any way to get a stack trace. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#4155) next »