PHP 4.0 Bug #4703 Updated: New "get_current_class" PHP Function
| From: | Bug Database | Date: | Tue, 30 May 2000 18:37:21 +0000 |
| Subject: | PHP 4.0 Bug #4703 Updated: New "get_current_class" PHP Function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19798@lists.php.net to get a copy of this message | ||
ID: 4703
Updated by: andrei
Reported By: joel@nextstudio.com
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
Spending 2 minutes with a test script yields the following:
class foo {
function foo() {
print get_class($this);
}
}
$a = new foo;
$this is get_current_object()
get_class($this) is get_current_class()
Full Bug description available at: http://bugs.php.net/version4/?id=4703