reference/classobj/functions/class-alias.xml
194d020921b4f2bc7616ac9eacabe362e89752ef
...
...
@@ -18,6 +18,12 @@
18
18
based on the user defined class <parameter>class</parameter>.
19
19
The aliased class is exactly the same as the original class.
20
20
</para>
21
+
<note>
22
+
<simpara>
23
+
As of PHP 8.3.0, <function>class_alias</function> also supports
24
+
creating an alias of an PHP internal class.
25
+
</simpara>
26
+
</note>
21
27
</refsect1>
22
28
<refsect1 role="parameters">
23
29
&reftitle.parameters;
...
...
@@ -58,6 +64,28 @@
58
64
</para>
59
65
</refsect1>
60
66

67
+
<refsect1 role="changelog">
68
+
&reftitle.changelog;
69
+
<informaltable>
70
+
<tgroup cols="2">
71
+
<thead>
72
+
<row>
73
+
<entry>&Version;</entry>
74
+
<entry>&Description;</entry>
75
+
</row>
76
+
</thead>
77
+
<tbody>
78
+
<row>
79
+
<entry>8.3.0</entry>
80
+
<entry>
81
+
<function>class_alias</function> now supports creating an alias of an internal class.
82
+
</entry>
83
+
</row>
84
+
</tbody>
85
+
</tgroup>
86
+
</informaltable>
87
+
</refsect1>
88
+

61
89
<refsect1 role="examples">
62
90
&reftitle.examples;
63
91
<para>
64
92