From 67e2a4ce2f918fd4763a4e06571bc232bca170d7 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 10 Aug 2024 03:52:51 +0200 Subject: [PATCH 1/2] [skip ci] 8.4 | UPGRADING: various tweaks --- UPGRADING | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/UPGRADING b/UPGRADING index 1cd665b5ec319..4134e0d9a9cf8 100644 --- a/UPGRADING +++ b/UPGRADING @@ -359,7 +359,7 @@ PHP 8.4 UPGRADE NOTES - Standard: . stream_bucket_make_writeable() and stream_bucket_new() will now return a - StreamBucket instance instead of an stdClass instance. + StreamBucket instance instead of an instance of stdClass. RFC: https://wiki.php.net/rfc/dedicated_stream_bucket . Added a new RoundingMode enum with clearer naming and improved discoverability compared to the PHP_ROUND_* constants. @@ -489,6 +489,7 @@ PHP 8.4 UPGRADE NOTES . Calling stream_context_set_option() with 2 arguments is deprecated. Use stream_context_set_options() instead. . Raising zero to the power of negative number is deprecated. + RFC: https://wiki.php.net/rfc/raising_zero_to_power_of_negative_number . Unserializing strings using the uppercase 'S' tag is deprecated. RFC: https://wiki.php.net/rfc/deprecations_php_8_4 @@ -669,6 +670,7 @@ PHP 8.4 UPGRADE NOTES the IANA identifier from a given timezone. . Added grapheme_str_split which allow to support emoji and Variation Selectors. + RFC: https://wiki.php.net/rfc/grapheme_str_split . Added IntlDateFormatter::parseToCalendar which behaves like IntlDateFormatter::parse except the time zone is updated. . Added SpoofChecker::setAllowedChars to limit the range of unicode @@ -722,7 +724,9 @@ PHP 8.4 UPGRADE NOTES . Added the http_get_last_response_headers() and http_clear_last_response_headers() that allows retrieving the same content as the magic $http_response_header variable. + RFC: https://wiki.php.net/rfc/http-last-response-headers . Added function fpow() following rules of IEEE 754. + RFC: https://wiki.php.net/rfc/raising_zero_to_power_of_negative_number . Added functions array_find(), array_find_key(), array_all(), and array_any(). RFC: https://wiki.php.net/rfc/array_find @@ -746,6 +750,10 @@ PHP 8.4 UPGRADE NOTES 7. New Classes and Interfaces ======================================== +- Core: + . New RequestParseBodyException. + RFC: https://wiki.php.net/rfc/rfc1867-non-post + - DOM: . Implemented DOM HTML5 parsing and serialization. RFC: https://wiki.php.net/rfc/domdocument_html5_parser. From 064ad6199b3568e115b6fffd187f461bb4d447ee Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 11 Aug 2024 04:24:00 +0200 Subject: [PATCH 2/2] [skip ci] 8.4 | UPGRADING: add missing entry for DBA resource to object migration Ref: 14329 P.S.: looks like 14282 also doesn't have a mention, but that PR doesn't appear to have an impact on userland - maybe a NEWS entry ? --- UPGRADING | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPGRADING b/UPGRADING index 4134e0d9a9cf8..640aeddc7150a 100644 --- a/UPGRADING +++ b/UPGRADING @@ -38,6 +38,11 @@ PHP 8.4 UPGRADE NOTES readonly initialization, and was an oversight in the "readonly reinitialization during cloning" implementation. +- DBA: + . dba_open() and dba_popen() will now return a Dba\Connection + object rather than a resource. Return value checks using is_resource() + should be replaced with checks for `false`. + - DOM: . Added DOMNode::compareDocumentPosition() and DOMNode::DOCUMENT_POSITION_* constants.