@@ -447,6 +447,15 @@ PHP 8.6 UPGRADE NOTES
447447 RFC: https://wiki.php.net/rfc/deprecate-return-value-from-construct
448448 . Making __construct() and __destruct() a Generator is now deprecated.
449449 RFC: https://wiki.php.net/rfc/deprecate-return-value-from-construct
450+ . Naming a function readonly is now deprecated.
451+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_the_possibility_to_name_a_function_readonly
452+ . Passing a 3rd argument to define() is now deprecated.
453+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_define_with_case_insensitive_being_specified
454+
455+ - BZ2
456+ . Passing an object for the Bzip2 {de}compression stream filter is now
457+ deprecated. Use get_object_vars() on the object instead.
458+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#passing_objects_as_parameters_to_the_bzip2decompress_and_bzip2compress_stream_filters
450459
451460- GMP
452461 . The shift (<<, >>) and exponentiation (**) operators on GMP objects now
@@ -457,12 +466,62 @@ PHP 8.6 UPGRADE NOTES
457466 . Mbregex has been deprecated, because the underlying Oniguruma library
458467 is no longer maintained.
459468 RFC: https://wiki.php.net/rfc/eol-oniguruma
469+ . Passing objects to mb_convert_variables() is now deprecated
470+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#passing_objects_for_vars_parameter_of_mb_convert_variables
471+
472+ - SPL:
473+ . The spl_classes() function is now deprecated, use
474+ ReflectionExtension::getClassNames() instead.
475+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_spl_classes
476+ . The spl_object_hash() function is now deprecated, use spl_object_id()
477+ instead.
478+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_spl_object_hash
479+ . The following ArrayIterator methods are now deprecated:
480+ * ArrayIterator::getFlags()
481+ * ArrayIterator::setFlags()
482+ * ArrayIterator::asort()
483+ * ArrayIterator::ksort()
484+ * ArrayIterator::uasort()
485+ * ArrayIterator::uksort()
486+ * ArrayIterator::natsort()
487+ * ArrayIterator::natcasesort()
488+ * ArrayIterator::unserialize()
489+ * ArrayIterator::serialize()
490+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_arrayiterator_methods_that_inherit_arrayobject_implementation
460491
461492- Standard:
462493 . Using more than 16 filters in a php://filter URL without configuring the
463494 "filter.max_filter_count" stream context option now emits an E_DEPRECATED
464495 warning. Use stream_filter_append() or configure this option explicitly.
465496 RFC: https://wiki.php.net/rfc/limit-maximum-number-of-filter-chains
497+ . Passing an object to array_walk{_recursive} is now deprecated. Use
498+ get_object_vars() on the object instead.
499+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#passing_objects_for_array_parameter_of_array_walk_and_array_walk_recursive
500+ . The is_double() function is now deprecated, use is_float() instead.
501+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_is_double
502+ . The is_long() and is_integer() functions are now deprecated, use is_int()
503+ instead.
504+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_is_integer
505+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_is_long
506+ . The doubleval() function is now deprecated, use floatval() instead.
507+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_doubleval
508+ . The strcoll() function is now deprecated, use Collator::compare() instead.
509+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_strcoll
510+ . The SORT_LOCALE_STRING constant for the family of sort functions is now
511+ deprecated, use one of the following functions instead:
512+ * Collator::sort()
513+ * Collator::asort()
514+ * Collator::sort()
515+ * Collator::sortWithSortKeys()
516+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_sort_locale_string_flag_for_sort_functions
517+
518+ - Zlib
519+ . Passing an object for the zlib deflate and inflate stream filter is now
520+ deprecated. Use get_object_vars() on the object instead.
521+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#passing_objects_as_parameters_to_the_zlibinflate_and_zlibdeflate_stream_filters
522+ . Passing an object to the $option argument to deflate_init and inflate_init
523+ is now deprecated. Use get_object_vars() on the object instead.
524+ RFC: https://wiki.php.net/rfc/deprecations_php_8_6#passing_objects_for_options_parameter_of_deflate_init_and_inflate_init
466525
467526========================================
4685275. Changed Functions
0 commit comments