Skip to content

Commit 8c2ebc0

Browse files
committed
[skip ci] Add NEWS/UPGRADING entries for mysqli deprecations
1 parent 6bf7b72 commit 8c2ebc0

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

NEWS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ PHP NEWS
3232
. Added SSE2 and SHA-NI implementation of SHA-256. (timwolla, Colin Percival,
3333
Graham Percival)
3434

35+
- Mysqli:
36+
. The mysqli_ping() function and mysqli::ping() method are now deprecated,
37+
as the reconnect feature was removed in PHP 8.2. (Kamil Tekiela)
38+
. The mysqli_kill() function and mysqli::kill() method are now deprecated.
39+
If this functionality is needed a SQL "KILL" command can be used instead.
40+
(Kamil Tekiela)
41+
. The mysqli_refresh() function and mysqli::refresh() method are now deprecated.
42+
If this functionality is needed a SQL "FLUSH" command can be used instead.
43+
(Kamil Tekiela)
44+
3545
- PHPDBG:
3646
. array out of bounds, stack overflow handled for segfault handler on windows.
3747
(David Carlier)

UPGRADING

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,17 @@ PHP 8.4 UPGRADE NOTES
447447
. Calling ldap_exop() with more than 4 arguments is deprecated. Use
448448
ldap_exop_sync() instead.
449449

450+
- Mysqli:
451+
. The mysqli_ping() function and mysqli::ping() method are now deprecated,
452+
as the reconnect feature was removed in PHP 8.2.
453+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#mysqli_ping_and_mysqliping
454+
. The mysqli_kill() function and mysqli::kill() method are now deprecated.
455+
If this functionality is needed a SQL "KILL" command can be used instead.
456+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_mysqli_kill
457+
. The mysqli_refresh() function and mysqli::refresh() method are now deprecated.
458+
If this functionality is needed a SQL "FLUSH" command can be used instead.
459+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_mysqli_refresh
460+
450461
- PDO_PGSQL:
451462
. Using escaped question marks (??) inside dollar-quoted strings is deprecated.
452463
Since PDO_PGSQL has its own SQL parser with dollar-quoted strings support, it

0 commit comments

Comments
 (0)