#30170 [Opn->Bgs]: method to return function name
| From: | alan_k@php.net | Date: | Mon, 20 Sep 2004 17:37:03 +0000 |
| Subject: | #30170 [Opn->Bgs]: method to return function name | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66459@lists.php.net to get a copy of this message | ||
ID: 30170
Updated by: alan_k@php.net
Reported By: anagai at verizon dot net
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: windows 2000
PHP Version: 4.3.7
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
try __FUNCTION__
Previous Comments:
------------------------------------------------------------------------
[2004-09-20 18:52:12] anagai at verizon dot net
Description:
------------
This is a feature request. It would be nice if there was a method that
returned the current function name. This would be good for error
logging. I currently have to manually enter the function name in each
function that has error handling. sometime i copy functions and they
will have the wrong function name for error handling. a method that
returned the current function name would be nice.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30170&edit=1