note 128527 added to language.constants.magic
| From: | chris at ocproducts dot com | Date: | Thu, 11 May 2023 20:36:22 +0000 |
| Subject: | note 128527 added to language.constants.magic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220482@lists.php.net to get a copy of this message | ||
Note that __CLASS__ and __METHOD__ both reference the class the code is written in, not whatever the
object class is. E.g. if you have an object of class B inheriting from class A, any usage of
__CLASS__ in class A is going to give "A".
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 2001:4998:ef83:14:8000::1192)
----
Manual Page -- https://php.net/manual/en/language.constants.magic.php
Edit -- https://main.php.net/note/edit/128527
Del: integrated -- https://main.php.net/note/delete/128527/integrated
Del: useless -- https://main.php.net/note/delete/128527/useless
Del: bad code -- https://main.php.net/note/delete/128527/bad+code
Del: spam -- https://main.php.net/note/delete/128527/spam
Del: non-english -- https://main.php.net/note/delete/128527/non-english
Del: in docs -- https://main.php.net/note/delete/128527/in+docs
Del: other reasons-- https://main.php.net/note/delete/128527
Reject -- https://main.php.net/note/reject/128527
Search -- https://main.php.net/manage/user-notes.php