From 8c2ebc0a5603b5548b752146dfb51ee745ad5acd Mon Sep 17 00:00:00 2001 From: Gina Peter Bnayard Date: Sun, 11 Aug 2024 14:48:17 +0200 Subject: [PATCH] [skip ci] Add NEWS/UPGRADING entries for mysqli deprecations --- NEWS | 10 ++++++++++ UPGRADING | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/NEWS b/NEWS index 60ef9cf9925..25c0abf74a3 100644 --- a/NEWS +++ b/NEWS @@ -32,6 +32,16 @@ PHP NEWS . Added SSE2 and SHA-NI implementation of SHA-256. (timwolla, Colin 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: . array out of bounds, stack overflow handled for segfault handler on windows. (David Carlier) diff --git a/UPGRADING b/UPGRADING index 640aeddc715..c0ecc518b07 100644 --- a/UPGRADING +++ b/UPGRADING @@ -447,6 +447,17 @@ PHP 8.4 UPGRADE NOTES . Calling ldap_exop() with more than 4 arguments is deprecated. Use 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: . Using escaped question marks (??) inside dollar-quoted strings is deprecated. Since PDO_PGSQL has its own SQL parser with dollar-quoted strings support, it