We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee5ee84 commit ff9181eCopy full SHA for ff9181e
2 files changed
appendices/reserved.xml
@@ -567,6 +567,12 @@
567
<entry>
568
never (as of PHP 8.1)
569
</entry>
570
+ <entry>
571
+ array (as of PHP 8.5)
572
+ </entry>
573
574
+ callable (as of PHP 8.5)
575
576
</row>
577
</tbody>
578
</tgroup>
reference/classobj/functions/class-alias.xml
@@ -18,6 +18,9 @@
18
based on the user defined class <parameter>class</parameter>.
19
The aliased class is exactly the same as the original class.
20
</para>
21
+ <simpara>
22
+ The class alias cannot be any of the PHP <link linkend="reserved.other-reserved-words">reserved words</link>.
23
+ </simpara>
24
<note>
25
<simpara>
26
As of PHP 8.3.0, <function>class_alias</function> also supports
0 commit comments