@@ -40,6 +40,9 @@ PHP 8.6 UPGRADE NOTES
4040- Intl:
4141 . Passing a non-stringable object as a time zone to Intl APIs that accept
4242 time zone objects or strings now raises a TypeError instead of an Error.
43+ . IntlIterator::current() now returns null when called before the iterator is
44+ positioned, or after the iterator becomes invalid, instead of exposing an
45+ undefined value.
4346 . IntlBreakIterator::getLocale() now raises a ValueError when the type is
4447 neither Locale::ACTUAL_LOCALE nor Locale::VALID_LOCALE instead of
4548 returning false.
@@ -126,6 +129,11 @@ PHP 8.6 UPGRADE NOTES
126129 to 1).
127130 RFC: https://wiki.php.net/rfc/session_security_defaults
128131
132+ - Shmop:
133+ . shmop_open() now raises a ValueError when the $key argument is outside the
134+ platform's key_t range instead of passing a truncated key to the operating
135+ system.
136+
129137- SOAP:
130138 . WSDL/XML Schema parsing now rejects out-of-range integer values for
131139 occurrence constraints and integer restriction facets. Negative minOccurs
@@ -174,9 +182,16 @@ PHP 8.6 UPGRADE NOTES
174182 passed.
175183 . scandir() now raises a ValueError when an invalid $sorting_order argument
176184 value is passed.
185+ . number_format() now raises a ValueError when $decimals is outside the
186+ integer range instead of silently clamping very large positive values.
177187 . proc_open() now raises a ValueError when the $cwd argument contains NUL
178188 bytes.
179189
190+ - Sysvshm:
191+ . shm_attach() now raises a ValueError when the $key argument is outside the
192+ platform's key_t range instead of passing a truncated key to the operating
193+ system.
194+
180195- Zip:
181196 . ZipArchive::extractTo now raises a TypeError for the files argument if one
182197 or more of the entries is not a string.
0 commit comments