note 90778 added to language.constants.predefined
| From: | Jean-DavidGadina at osu1 dot php dot net | Date: | Sat, 09 May 2009 15:38:47 +0000 |
| Subject: | note 90778 added to language.constants.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-154386@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/90778
Del: integrated -- https://master.php.net/note/delete/90778/integrated
Del: useless -- https://master.php.net/note/delete/90778/useless
Del: bad code -- https://master.php.net/note/delete/90778/bad+code
Del: spam -- https://master.php.net/note/delete/90778/spam
Del: non-english -- https://master.php.net/note/delete/90778/non-english
Del: in docs -- https://master.php.net/note/delete/90778/in+docs
Del: other reasons-- https://master.php.net/note/delete/90778
Reject -- https://master.php.net/note/reject/90778
Search -- https://master.php.net/manage/user-notes.php