Skip to content

Commit 42336e1

Browse files
Deprecate mysqli_refresh (#11929)
1 parent bd77462 commit 42336e1

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,7 @@ public function use_result(): mysqli_result|false {}
10261026
* @tentative-return-type
10271027
* @alias mysqli_refresh
10281028
*/
1029+
#[\Deprecated(since: '8.4', message: 'use FLUSH SQL statement instead')]
10291030
public function refresh(int $flags): bool {}
10301031
}
10311032

@@ -1664,4 +1665,5 @@ function mysqli_use_result(mysqli $mysql): mysqli_result|false {}
16641665

16651666
function mysqli_warning_count(mysqli $mysql): int {}
16661667

1668+
#[\Deprecated(since: '8.4', message: 'use FLUSH SQL statement instead')]
16671669
function mysqli_refresh(mysqli $mysql, int $flags): bool {}

ext/mysqli/mysqli_arginfo.h

Lines changed: 27 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)