Function for getting name of method being executed?

From: Date: Thu, 12 Mar 2015 01:10:55 +0000
Subject: Function for getting name of method being executed?
Groups: php.general 
Request: Send a blank email to php-general+get-324628@lists.php.net to get a copy of this message
Hello; I have begun to use get_class($this) in __construct method to establish a way to construct custom error messages to be returned from member methods. Is there a similar function to get the name of the method in which the error might occur? (to save having to hard code it in every place where it might be necessary) Thanks for time and attention; JK

« previous php.general (#324628) next »