Doc #67973 [NEW]: ::class notation is not documented?

From: Date: Sun, 07 Sep 2014 19:53:31 +0000
Subject: Doc #67973 [NEW]: ::class notation is not documented?
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11470@lists.php.net to get a copy of this message
From: ianbytchek at gmail dot com Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:::class notation is not documented? 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? -- Edit bug report at https://bugs.php.net/bug.php?id=67973&edit=1 --

« previous php.doc.bugs (#11470) next »