diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml
index 3c320de5d2..2d234c179e 100644
--- a/language/oop5/basic.xml
+++ b/language/oop5/basic.xml
@@ -413,7 +413,7 @@ a default value
::class
- Since PHP 5.5, the class keyword is also used for class
+ The class keyword is also used for class
name resolution. You can get a string containing the fully qualified name
of the ClassName class by using
ClassName::class. This is particularly useful with
@@ -449,7 +449,49 @@ NS\ClassName
are expanded even if the class does not exist. No error is issued in
that case.
+
+ Missing class name resolution
+
+
+]]>
+
+ &example.outputs;
+
+
+
+
+
+ As of PHP 8.0.0, the ::class constant may also be used on
+ objects. This resolution happens at runtime, not compile time. Its effect is
+ the same as calling get_class on the object.
+
+
+ Object name resolution
+
+
+]]>
+
+ &example.outputs;
+
+
+
+