Skip to content

Commit

Permalink
Fix small typo in UPGRADING (#16141)
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte committed Sep 30, 2024
1 parent 95d691a commit d83a7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PHP 8.4 UPGRADE NOTES
readonly initialization, and was an oversight in the "readonly
reinitialization during cloning" implementation.
. The exit (and die) language constructs now behave more like a function.
They can be passed liked callables, are affected by the strict_types
They can be passed like callables, are affected by the strict_types
declare statement, and now perform the usual type coercions instead of
casting any non-integer value to a string.
As such, passing invalid types to exit/die may now result in a TypeError
Expand Down

0 comments on commit d83a7a9

Please sign in to comment.