Skip to content

Commit 07c63c6

Browse files
TysonAndrenikic
authored andcommitted
Fix opcache signatures for mysqli_stat
See mysqli_api.c and https://www.php.net/manual/en/mysqli.stat.php
1 parent 7350e80 commit 07c63c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ static const func_info_t func_infos[] = {
10921092
F0("mysqli_select_db", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
10931093
F1("mysqli_sqlstate", MAY_BE_NULL | MAY_BE_STRING),
10941094
F0("mysqli_ssl_set", MAY_BE_NULL | MAY_BE_TRUE),
1095-
F1("mysqli_stat", MAY_BE_NULL | MAY_BE_STRING),
1095+
F1("mysqli_stat", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
10961096
F0("mysqli_refresh", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
10971097
F0("mysqli_stmt_attr_set", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
10981098
F0("mysqli_stmt_attr_get", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG),

0 commit comments

Comments
 (0)