WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@jordikroon
Copy link

Documentation updated for new reserved class names

  • Update reserved words documentation to include array and callable as reserved words as of PHP 8.5.
  • Clarify in class_alias() function that aliases cannot use reserved words, with link to reserved words reference.

Ref: #4886

@jordikroon jordikroon force-pushed the doc/class-alias branch 3 times, most recently from 91c78a3 to 3351464 Compare December 25, 2025 23:45
Update reserved words documentation to include array and callable as reserved
words as of PHP 8.5. Clarify in class_alias() function that aliases cannot
use reserved words, with link to reserved words reference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant