@@ -319,6 +319,9 @@ PHP 8.5 UPGRADE NOTES
319
319
. Non-canonical cast names (boolean), (integer), (double), and (binary) have
320
320
been deprecated, use (bool), (int), (float), and (string) respectively.
321
321
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_non-standard_cast_names
322
+ . The $exclude_disabled parameter of the get_defined_functions() function has
323
+ been deprecated, as it no longer has any effect since PHP 8.0.
324
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_exclude_disabled_parameter_of_get_defined_functions
322
325
323
326
- FileInfo:
324
327
. The finfo_close() function has been deprecated.
@@ -346,6 +349,18 @@ PHP 8.5 UPGRADE NOTES
346
349
deprecated, as those no longer have an effect.
347
350
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
348
351
352
+ - SPL:
353
+ . Unregistering all autoloaders by passing the spl_autoload_call() function
354
+ as a callback argument to spl_autoload_unregister() has been deprecated.
355
+ Instead if this is needed, one should iterate over the return value of
356
+ spl_autoload_functions() and call spl_autoload_unregister() on each value.
357
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_spl_autoload_call_to_spl_autoload_unregister
358
+ . The SplObjectStorage::contains(), SplObjectStorage::attach(), and
359
+ SplObjectStorage::detach() methods have been deprecated in favour of
360
+ SplObjectStorage::offsetExists(), SplObjectStorage::offsetSet(), and
361
+ SplObjectStorage::offsetUnset() respectively.
362
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_splobjectstoragecontains_splobjectstorageattach_and_splobjectstoragedetach
363
+
349
364
- Standard:
350
365
. The socket_set_timeout() alias function has been deprecated.
351
366
Use stream_set_timeout() instead.
@@ -575,6 +590,12 @@ PHP 8.5 UPGRADE NOTES
575
590
. The return type of finfo_close() has been changed to true, rather
576
591
than bool.
577
592
593
+ - Intl:
594
+ . Intl's internal error mechanism has been modernized so that it
595
+ indicates more accurately which call site caused what error.
596
+ Moreover, some ext/date exceptions have been wrapped inside a
597
+ IntlException now.
598
+
578
599
- Lexbor:
579
600
. An always enabled lexbor extension is added. It contains the lexbor
580
601
library that was separated from ext/dom for being reused among other
0 commit comments