note 90777 added to language.constants.predefined
| From: | macmade at eosgarden dot com | Date: | Sat, 09 May 2009 15:38:12 +0000 |
| Subject: | note 90777 added to language.constants.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-154385@lists.php.net to get a copy of this message | ||
To 'me at jamessocol dot com':
Since PHP 5.3, with the late static bindings, there's a built-in function that does the trick:
get_called_class() - http://www.php.net/get_called_class
----
Server IP: 64.71.164.2
Probable Submitter: 212.74.166.15
----
Manual Page -- http://www.php.net/manual/en/language.constants.predefined.php
Edit -- https://master.php.net/note/edit/90777
Del: integrated -- https://master.php.net/note/delete/90777/integrated
Del: useless -- https://master.php.net/note/delete/90777/useless
Del: bad code -- https://master.php.net/note/delete/90777/bad+code
Del: spam -- https://master.php.net/note/delete/90777/spam
Del: non-english -- https://master.php.net/note/delete/90777/non-english
Del: in docs -- https://master.php.net/note/delete/90777/in+docs
Del: other reasons-- https://master.php.net/note/delete/90777
Reject -- https://master.php.net/note/reject/90777
Search -- https://master.php.net/manage/user-notes.php