From 7f464248bbd8a2b1eedbe602c181de479631fc69 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 1 Sep 2024 01:46:18 +0200 Subject: [PATCH 1/3] [skip ci] PHP 8.4 changelog: more alphabetic order fixes --- UPGRADING | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/UPGRADING b/UPGRADING index 154b99217750d..90a5b1f5525f6 100644 --- a/UPGRADING +++ b/UPGRADING @@ -95,6 +95,10 @@ PHP 8.4 UPGRADE NOTES is converted to Unicode. This is significant because around 40 SJIS-Mac characters convert to a sequence of multiple Unicode codepoints. +- MySQLnd: + . The error code reported for MySQL server wait timeouts has been changed from 2006 + to 4031 for MySQL server versions 8.0.24 and above. + - ODBC: . odbc_fetch_row() returns false when a value less than or equal to 0 is passed for parameter $row. Now, a warning is emitted in this case. @@ -119,17 +123,6 @@ PHP 8.4 UPGRADE NOTES . If JIT is enabled, PHP will now exit with a fatal error on startup in case of JIT startup initialization issues. -- PCRE: - . The bundled pcre2lib has been updated to version 10.44. - As a consequence, this means {,3} is now recognized as a quantifier instead - of as text. Furthermore, the meaning of some character classes in UCP mode - has changed. Consult https://github.com/PCRE2Project/pcre2/blob/master/NEWS - for a full changelog. - -- MySQLnd - . The error code reported for MySQL server wait timeouts has been changed from 2006 - to 4031 for MySQL server versions 8.0.24 and above. - - PCNTL: . The functions pcntl_sigprocmask(), pcntl_sigwaitinfo() and pcntl_sigtimedwait() now throw: @@ -146,6 +139,13 @@ PHP 8.4 UPGRADE NOTES - A ValueError if $nanoseconds is less than 0 or greater than 1e9 - A ValueError if both $seconds and $nanoseconds are 0 +- PCRE: + . The bundled pcre2lib has been updated to version 10.44. + As a consequence, this means {,3} is now recognized as a quantifier instead + of as text. Furthermore, the meaning of some character classes in UCP mode + has changed. Consult https://github.com/PCRE2Project/pcre2/blob/master/NEWS + for a full changelog. + - PDO_DBLIB: . setAttribute, DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER and DBLIB_ATTR_DATETIME_CONVERT have been changed to set value as a bool. @@ -390,12 +390,12 @@ PHP 8.4 UPGRADE NOTES - two-dashes and C-style comments (non-nested) RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers -- Phar: - . Added support for the unix timestamp extension for zip archives. - - PgSQL: . Added pg_result_memory_size to get the visibility the memory used by a query result. +- Phar: + . Added support for the unix timestamp extension for zip archives. + - POSIX: . Added constant POSIX_SC_CHILD_MAX . Added constant POSIX_SC_CLK_TCK @@ -426,14 +426,6 @@ PHP 8.4 UPGRADE NOTES - ReflectionClass::SKIP_DESTRUCTOR RFC: https://wiki.php.net/rfc/lazy-objects -- Standard: - . stream_bucket_make_writeable() and stream_bucket_new() will now return a - 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. - RFC: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum - - SOAP: . Added support for clark notation for namespaces in class map. It is now possible to specify entries in a class map with clark notation @@ -444,6 +436,14 @@ PHP 8.4 UPGRADE NOTES empty string. . Session persistence now works with a shared session module. +- Standard: + . stream_bucket_make_writeable() and stream_bucket_new() will now return a + 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. + RFC: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum + - XSL: . It is now possible to use parameters that contain both single and double quotes. @@ -952,7 +952,7 @@ PHP 8.4 UPGRADE NOTES would finally be. . A new constant has been added: MYSQLI_TYPE_VECTOR. -- Mysqlnd +- Mysqlnd: . Support for the new VECTOR data type from MySQL 9. - OpenSSL: From 46671a694d3cbf3b9db81af1bdf000c3035e6990 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 1 Sep 2024 01:47:39 +0200 Subject: [PATCH 2/3] [skip ci] PHP 8.4 changelog: add MYSQLI_TYPE_VECTOR to new constants Ref: PR 15431 / https://github.com/php/php-src/commit/a1ab846231aeff49c0441a30ebd44463fc7825b1 --- UPGRADING | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UPGRADING b/UPGRADING index 90a5b1f5525f6..d1db3276577a1 100644 --- a/UPGRADING +++ b/UPGRADING @@ -1019,6 +1019,9 @@ PHP 8.4 UPGRADE NOTES substitution, but want to disallow external entity loading. This constant is available as of libxml2 2.13. +- Mysqli: + . MYSQLI_TYPE_VECTOR. + - OpenSSL: . X509_PURPOSE_OCSP_HELPER. . X509_PURPOSE_TIMESTAMP_SIGN. From c816cde266c878fd1dc4267a379f016d18a254ae Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 1 Sep 2024 01:48:11 +0200 Subject: [PATCH 3/3] [skip ci] PHP 8.4 changelog: fix typo in new constant Ref: PR 15479 / https://github.com/php/php-src/commit/d713e3619e2f114da2b9b19ee066b5ecf2830337 --- UPGRADING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING b/UPGRADING index d1db3276577a1..fc8d8d5ca2818 100644 --- a/UPGRADING +++ b/UPGRADING @@ -1063,7 +1063,7 @@ PHP 8.4 UPGRADE NOTES . IP_PORTRANGE_LOW (FreeBSD/NetBSD/OpenBSD only). . SOCK_NONBLOCK. . SOCK_CLOEXEC. - . SOCK_BINDTOIFINDEX. + . SO_BINDTOIFINDEX. - Sodium: . SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES