Commit be767e1
committed
docs: add reserved words restrictions for class-alias in PHP 8.5
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.1 parent 3061900 commit be767e1
File tree
2 files changed
+9
-0
lines changed- appendices
- reference/classobj/functions
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
570 | 576 | | |
571 | 577 | | |
572 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments