Re: Function call introspection: possible or not?

From: Date: Fri, 07 Sep 2001 04:41:03 +0000
Subject: Re: Function call introspection: possible or not?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66330@lists.php.net to get a copy of this message
I don't think there is such a documented function available in PHP yet... Use the source, and do it. :-) -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Geoff Caplan <geoff@productivity.co.uk> Newsgroups: php.general To: PHP General <php-general@lists.php.net> Sent: Friday, August 31, 2001 6:29 PM Subject: Function call introspection: possible or not? > Hi folks > > Just in case I am missing something - > > Is there any way for a function to determine the name of the calling > function? > > I want my database abstraction layer to be able to log query errors against > the name of the calling function, but I would rather not have to pass the > name in the query request every time. Any suggestions? > > Thanks > > Geoff Caplan > Advantae Ltd >

« previous php.general (#66330) next »