diff --git a/appendices/reserved.xml b/appendices/reserved.xml index 9c50a7f5fda3..014002ea2dcd 100644 --- a/appendices/reserved.xml +++ b/appendices/reserved.xml @@ -567,6 +567,12 @@ never (as of PHP 8.1) + + array (as of PHP 8.5) + + + callable (as of PHP 8.5) + diff --git a/reference/classobj/functions/class-alias.xml b/reference/classobj/functions/class-alias.xml index a9564e1b885b..aeed4ab6d304 100644 --- a/reference/classobj/functions/class-alias.xml +++ b/reference/classobj/functions/class-alias.xml @@ -18,6 +18,9 @@ based on the user defined class class. The aliased class is exactly the same as the original class. + + The class alias cannot be any of the PHP reserved words. + As of PHP 8.3.0, class_alias also supports