From 8d29efbed427ddb07d0af69714dd026d2ea162df Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Tue, 4 Feb 2025 11:53:24 -0800 Subject: [PATCH] UPGRADING: fix some typos [skip ci] --- UPGRADING | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADING b/UPGRADING index 9df115d1e735e..c35d9477af899 100644 --- a/UPGRADING +++ b/UPGRADING @@ -155,7 +155,7 @@ PHP 8.5 UPGRADE NOTES - Session: . session_start is stricter in regard of the option argument. - it throws a ValueError if the whole is not a hashmap or + It throws a ValueError if the whole is not a hashmap or a TypeError if read_on_close value is not a valid type compatible with int. @@ -170,7 +170,7 @@ PHP 8.5 UPGRADE NOTES . socket_create_listen, socket_bind and socket_sendto throw a ValueError if the port is lower than 0 or greater than 65535, also if any of the hints array entry is indexes numerically. - . socket_addrinfo_lookup throw a TypeError if any of the hints + . socket_addrinfo_lookup throws a TypeError if any of the hints values cannot be cast to a int and can throw a ValueError if any of these values overflow. . socket_set_option with MCAST_LEAVE_GROUP/MCAST_LEAVE_SOURCE_GROUP