|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-09-08 05:15 UTC] aharvey@php.net
[2014-09-08 08:01 UTC] ianbytchek at gmail dot com
[2018-12-30 05:11 UTC] girgias@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: girgias
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 22 13:00:01 2025 UTC |
Description: ------------ Apparently we can do cool things with `class` since 5.5, like: static::class // MyNamespace\ClassC when run in A self::class // MyNamespace\ClassA when run in A parent::class // MyNamespace\ClassB when run in C MyClass::class // MyNamespace\MyClass But there seem to be no references to it in the official documentation. There are some scattered things about it on the web, but not a lot. Is this official? Is it supported? Can this be documented?