[skip ci] 8.4 | UPGRADING: fix extension order

A number of times, extensions were not listed in alphabetic order.

Fixed now.

Includes a few minor fixes where extension names were using inconsistent casing across the file.
This commit is contained in:
jrfnl 2024-08-14 09:21:59 +02:00 committed by Tim Düsterhus
parent 0abd54d538
commit d61cb70e65

View file

@ -126,6 +126,22 @@ PHP 8.4 UPGRADE NOTES
has changed. Consult https://github.com/PCRE2Project/pcre2/blob/master/NEWS has changed. Consult https://github.com/PCRE2Project/pcre2/blob/master/NEWS
for a full changelog. for a full changelog.
- PCNTL:
. The functions pcntl_sigprocmask(), pcntl_sigwaitinfo() and
pcntl_sigtimedwait() now throw:
- A ValueError if the $signals array is empty (except for
pcntl_sigprocmask() if the $mode is SIG_SETMASK).
- A TypeError if a value of the $signals array is not an integer
- A ValueError if a value of the $signals array is not a valid signal number
Moreover, those functions now always return false on failure.
In some case previously it could return the value -1.
. The function pcntl_sigprocmask() will also now throw:
- A ValueError if $mode is not one of SIG_BLOCK, SIG_UNBLOCK, or SIG_SETMASK
. The function pcntl_sigtimedwait() will also now throw:
- A ValueError if $seconds is less than 0
- A ValueError if $nanoseconds is less than 0 or greater than 1e9
- A ValueError if both $seconds and $nanoseconds are 0
- PDO_DBLIB: - PDO_DBLIB:
. setAttribute, DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER and DBLIB_ATTR_DATETIME_CONVERT . setAttribute, DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER and DBLIB_ATTR_DATETIME_CONVERT
have been changed to set value as a bool. have been changed to set value as a bool.
@ -143,22 +159,6 @@ PHP 8.4 UPGRADE NOTES
. The DSN's credentials, when set, are given priority over their PDO . The DSN's credentials, when set, are given priority over their PDO
constructor counterparts, being closer to the documentation states. constructor counterparts, being closer to the documentation states.
- PCNTL:
. The functions pcntl_sigprocmask(), pcntl_sigwaitinfo() and
pcntl_sigtimedwait() now throw:
- A ValueError if the $signals array is empty (except for
pcntl_sigprocmask() if the $mode is SIG_SETMASK).
- A TypeError if a value of the $signals array is not an integer
- A ValueError if a value of the $signals array is not a valid signal number
Moreover, those functions now always return false on failure.
In some case previously it could return the value -1.
. The function pcntl_sigprocmask() will also now throw:
- A ValueError if $mode is not one of SIG_BLOCK, SIG_UNBLOCK, or SIG_SETMASK
. The function pcntl_sigtimedwait() will also now throw:
- A ValueError if $seconds is less than 0
- A ValueError if $nanoseconds is less than 0 or greater than 1e9
- A ValueError if both $seconds and $nanoseconds are 0
- SimpleXML: - SimpleXML:
. Get methods called, or casting to a string on a SimpleXMLElement will no . Get methods called, or casting to a string on a SimpleXMLElement will no
longer implicitly reset the iterator data, unless explicitly rewound. longer implicitly reset the iterator data, unless explicitly rewound.
@ -301,6 +301,18 @@ PHP 8.4 UPGRADE NOTES
openssl_pkey_get_details as well as openssl_sign and openssl_verify were openssl_pkey_get_details as well as openssl_sign and openssl_verify were
extended to support those keys. extended to support those keys.
- PCRE:
. The bundled pcre2lib has been updated to version 10.44.
As a consequence, LoongArch JIT support has been added, spaces
are now allowed between braces in Perl-compatible items, and
variable-length lookbehind assertions are now supported.
. With pcre2lib version 10.44, the maximum length of named capture groups
has changed from 32 to 128.
. Added support for the "r" (PCRE2_EXTRA_CASELESS_RESTRICT) modifier, as well
as the (?r) mode modifier. When enabled along with the case-insensitive
modifier ("i"), the expression locks out mixing of ASCII and non-ASCII
characters.
- PDO: - PDO:
. Added support for driver-specific subclasses. . Added support for driver-specific subclasses.
RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses
@ -353,18 +365,6 @@ PHP 8.4 UPGRADE NOTES
- Phar: - Phar:
. Added support for the unix timestamp extension for zip archives. . Added support for the unix timestamp extension for zip archives.
- PCRE:
. The bundled pcre2lib has been updated to version 10.44.
As a consequence, LoongArch JIT support has been added, spaces
are now allowed between braces in Perl-compatible items, and
variable-length lookbehind assertions are now supported.
. With pcre2lib version 10.44, the maximum length of named capture groups
has changed from 32 to 128.
. Added support for the "r" (PCRE2_EXTRA_CASELESS_RESTRICT) modifier, as well
as the (?r) mode modifier. When enabled along with the case-insensitive
modifier ("i"), the expression locks out mixing of ASCII and non-ASCII
characters.
- POSIX: - POSIX:
. Added constant POSIX_SC_CHILD_MAX . Added constant POSIX_SC_CHILD_MAX
. Added constant POSIX_SC_CLK_TCK . Added constant POSIX_SC_CLK_TCK
@ -602,6 +602,12 @@ PHP 8.4 UPGRADE NOTES
. The behavior of mb_strcut is more consistent now on invalid UTF-8 and UTF-16 . The behavior of mb_strcut is more consistent now on invalid UTF-8 and UTF-16
strings. (For valid UTF-8 and UTF-16 strings, there is no change.) strings. (For valid UTF-8 and UTF-16 strings, there is no change.)
- ODBC:
. Parameter $row of odbc_fetch_object(), odbc_fetch_array(), and
odbc_fetch_into() now has a default value of null, consistent with
odbc_fetch_row(). Previously, the default values were -1, -1, and 0,
respectively.
- OpenSSL: - OpenSSL:
. The extra_attributes parameter in openssl_csr_new sets CSR attributes . The extra_attributes parameter in openssl_csr_new sets CSR attributes
instead of subject DN which was incorrectly done previously. instead of subject DN which was incorrectly done previously.
@ -613,12 +619,6 @@ PHP 8.4 UPGRADE NOTES
for OpenSSL version below 3.2 (-1 is returned for such fields). The for OpenSSL version below 3.2 (-1 is returned for such fields). The
OpenSSL version 3.3+ does not load such certificates already. OpenSSL version 3.3+ does not load such certificates already.
- ODBC:
. Parameter $row of odbc_fetch_object(), odbc_fetch_array(), and
odbc_fetch_into() now has a default value of null, consistent with
odbc_fetch_row(). Previously, the default values were -1, -1, and 0,
respectively.
- Output: - Output:
. Output handler status flags passed to the flags parameter of ob_start . Output handler status flags passed to the flags parameter of ob_start
are now cleared. are now cleared.
@ -869,7 +869,7 @@ PHP 8.4 UPGRADE NOTES
- MBString: - MBString:
. Unicode data tables have been updated to Unicode 15.1. . Unicode data tables have been updated to Unicode 15.1.
- mysqli: - Mysqli:
. The unused and undocumented constant MYSQLI_SET_CHARSET_DIR . The unused and undocumented constant MYSQLI_SET_CHARSET_DIR
has been removed. has been removed.
@ -879,10 +879,10 @@ PHP 8.4 UPGRADE NOTES
- PDO: - PDO:
. The class constants are typed now. . The class constants are typed now.
- pdo_pgsql: - PDO_PGSQL:
. The pdo_pgsql extension now requires at least libpq 10.0. . The pdo_pgsql extension now requires at least libpq 10.0.
- pgsql: - PgSQL:
. The pgsql extension now requires at least libpq 10.0. . The pgsql extension now requires at least libpq 10.0.
- Reflection: - Reflection: