reference/classobj/functions/get-class.xml
4f36c26a72c40b16e955c3c1c88041910932d0bf
...
...
@@ -23,7 +23,7 @@
23
23
<term><parameter>object</parameter></term>
24
24
<listitem>
25
25
<para>
26
-
The tested object. This parameter may be omitted when inside a class.
26
+
The tested object.
27
27
</para>
28
28
<note>
29
29
<simpara>
...
...
@@ -45,10 +45,6 @@
45
45
instance.
46
46
</para>
47
47
<para>
48
-
If <parameter>object</parameter> is omitted when inside a class, the
49
-
name of that class is returned.
50
-
</para>
51
-
<para>
52
48
If the <parameter>object</parameter> is an instance of a class which exists
53
49
in a namespace, the qualified namespaced name of that class is returned.
54
50
</para>
...
...
@@ -79,6 +75,14 @@
79
75
</thead>
80
76
<tbody>
81
77
<row>
78
+
<entry>8.3.0</entry>
79
+
<entry>
80
+
Calling <function>get_class</function> without an argument now emits an
81
+
<constant>E_DEPRECATED</constant> warning;
82
+
previously, calling this function inside a class returned the name of that class.
83
+
</entry>
84
+
</row>
85
+
<row>
82
86
<entry>8.0.0</entry>
83
87
<entry>
84
88
Calling this function from outside a class, without any arguments,
85
89