[skip ci] Add NEWS/UPGRADING entries for mysqli deprecations

This commit is contained in:
Gina Peter Bnayard 2024-08-11 14:48:17 +02:00
parent 6bf7b7220d
commit 8c2ebc0a56
2 changed files with 21 additions and 0 deletions

10
NEWS
View file

@ -32,6 +32,16 @@ PHP NEWS
. Added SSE2 and SHA-NI implementation of SHA-256. (timwolla, Colin Percival, . Added SSE2 and SHA-NI implementation of SHA-256. (timwolla, Colin Percival,
Graham Percival) Graham Percival)
- Mysqli:
. The mysqli_ping() function and mysqli::ping() method are now deprecated,
as the reconnect feature was removed in PHP 8.2. (Kamil Tekiela)
. The mysqli_kill() function and mysqli::kill() method are now deprecated.
If this functionality is needed a SQL "KILL" command can be used instead.
(Kamil Tekiela)
. The mysqli_refresh() function and mysqli::refresh() method are now deprecated.
If this functionality is needed a SQL "FLUSH" command can be used instead.
(Kamil Tekiela)
- PHPDBG: - PHPDBG:
. array out of bounds, stack overflow handled for segfault handler on windows. . array out of bounds, stack overflow handled for segfault handler on windows.
(David Carlier) (David Carlier)

View file

@ -447,6 +447,17 @@ PHP 8.4 UPGRADE NOTES
. Calling ldap_exop() with more than 4 arguments is deprecated. Use . Calling ldap_exop() with more than 4 arguments is deprecated. Use
ldap_exop_sync() instead. ldap_exop_sync() instead.
- Mysqli:
. The mysqli_ping() function and mysqli::ping() method are now deprecated,
as the reconnect feature was removed in PHP 8.2.
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#mysqli_ping_and_mysqliping
. The mysqli_kill() function and mysqli::kill() method are now deprecated.
If this functionality is needed a SQL "KILL" command can be used instead.
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_mysqli_kill
. The mysqli_refresh() function and mysqli::refresh() method are now deprecated.
If this functionality is needed a SQL "FLUSH" command can be used instead.
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_mysqli_refresh
- PDO_PGSQL: - PDO_PGSQL:
. Using escaped question marks (??) inside dollar-quoted strings is deprecated. . Using escaped question marks (??) inside dollar-quoted strings is deprecated.
Since PDO_PGSQL has its own SQL parser with dollar-quoted strings support, it Since PDO_PGSQL has its own SQL parser with dollar-quoted strings support, it