From 9489212c72c4c33d13e37878f7306455715fd573 Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Mon, 30 Sep 2024 15:40:03 -0400 Subject: [PATCH] Fix small typo in UPGRADING --- UPGRADING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING b/UPGRADING index 96e0ef92a8b1..1a6081efc3e3 100644 --- a/UPGRADING +++ b/UPGRADING @@ -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