diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index a0533f9dda..6f5ec49429 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic.xml @@ -380,6 +380,14 @@ NS\ClassName + + The class name resolution using ::class is a + compile time transformation. That means at the time the class name string + is created no autoloading has happened yet. As a consequence, class names + are expanded even if the class does not exist. No error is issued in + that case. + +