#30170 [NEW]: method to return function name
| From: | anagai at verizon dot net | Date: | Mon, 20 Sep 2004 16:52:13 +0000 |
| Subject: | #30170 [NEW]: method to return function name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-66457@lists.php.net to get a copy of this message | ||
From: anagai at verizon dot net
Operating system: windows 2000
PHP version: 4.3.7
PHP Bug Type: Feature/Change Request
Bug description: method to return function name
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 bug report at http://bugs.php.net/?id=30170&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30170&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30170&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30170&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30170&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30170&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30170&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30170&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30170&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30170&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30170&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30170&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30170&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30170&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30170&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30170&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30170&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30170&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30170&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30170&r=mysqlcfg