diff --git a/reference/classobj/functions/get-class.xml b/reference/classobj/functions/get-class.xml
index ab2a6c81f2bc..affeee8085c4 100644
--- a/reference/classobj/functions/get-class.xml
+++ b/reference/classobj/functions/get-class.xml
@@ -23,7 +23,7 @@
object
- The tested object. This parameter may be omitted when inside a class.
+ The tested object.
@@ -44,10 +44,6 @@
Returns the name of the class of which object is an
instance.
-
- If object is omitted when inside a class, the
- name of that class is returned.
-
If the object is an instance of a class which exists
in a namespace, the qualified namespaced name of that class is returned.
@@ -78,6 +74,14 @@
+
+ 8.3.0
+
+ Calling get_class without an argument now emits an
+ E_DEPRECATED warning;
+ previously, calling this function inside a class returned the name of that class.
+
+
8.0.0
diff --git a/reference/classobj/functions/get-parent-class.xml b/reference/classobj/functions/get-parent-class.xml
index 4a9a265bdbd1..f15a0fb37708 100644
--- a/reference/classobj/functions/get-parent-class.xml
+++ b/reference/classobj/functions/get-parent-class.xml
@@ -23,8 +23,7 @@
object_or_class
- The tested object or class name. This parameter is optional if called
- from the object's method.
+ The tested object or class name.
@@ -41,9 +40,6 @@
If the object does not have a parent or the given class does not exist,
&false; will be returned.
-
- If called without parameter outside object, this function returns &false;.
-
@@ -57,6 +53,14 @@
+
+ 8.3.0
+
+ Calling get_class without an argument now emits an
+ E_DEPRECATED warning;
+ previously, calling this function inside a class returned the name of that class.
+
+
8.0.0