Bug #8576 Updated: implement C style __FUNCTION__ constant
| From: | sniper@php.net | Date: | Wed, 10 Apr 2002 21:50:14 +0000 |
| Subject: | Bug #8576 Updated: implement C style __FUNCTION__ constant | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4560@lists.php.net to get a copy of this message | ||
ID: 8576
Updated by: sniper@php.net
Reported By: voudras@nospam.swiftslayer.org
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: N/A
PHP Version: 4.0.4
New Comment:
Just added __FUNCTION__ and __CLASS__ constants.
These will be available in PHP 4.3.0.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-01-07 13:18:49] voudras@nospam.swiftslayer.org
I would love to see the __FUNCTION__ constant (which should return the
name of the function its called from (or perhaps filename if not inside
a funct?)).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8576&edit=1