Skip to content

Commit 4514afc

Browse files
committed
Fix #79988: new reserved keyword match is a backward incompatible change
1 parent 6f36b20 commit 4514afc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UPGRADING

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ PHP 8.0 UPGRADE NOTES
2121
========================================
2222

2323
- Core:
24+
. `match` is now a reserved keyword.
2425
. Assertion failures now throw by default. If the old behavior is desired,
2526
then set `assert.exception=0` in INI settings.
2627
. Methods with the same name as the class are no longer interpreted as

0 commit comments

Comments
 (0)