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