summaryrefslogtreecommitdiff
path: root/ext/opcache
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2019-06-09 17:32:04 -0400
committerNikita Popov <nikita.ppv@gmail.com>2019-06-11 15:39:59 +0200
commit07c63c6fdfb36b4a45273bb8dd6abb11093b3552 (patch)
treea2650c9413f2d7fe51717533a1806af16881bbae /ext/opcache
parent7350e808c539ac284b81904730bde11a96b0ab01 (diff)
downloadphp-git-07c63c6fdfb36b4a45273bb8dd6abb11093b3552.tar.gz
Fix opcache signatures for mysqli_stat
See mysqli_api.c and https://www.php.net/manual/en/mysqli.stat.php
Diffstat (limited to 'ext/opcache')
-rw-r--r--ext/opcache/Optimizer/zend_func_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c
index 2217dac459..487fe1c299 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -1092,7 +1092,7 @@ static const func_info_t func_infos[] = {
F0("mysqli_select_db", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
F1("mysqli_sqlstate", MAY_BE_NULL | MAY_BE_STRING),
F0("mysqli_ssl_set", MAY_BE_NULL | MAY_BE_TRUE),
- F1("mysqli_stat", MAY_BE_NULL | MAY_BE_STRING),
+ F1("mysqli_stat", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
F0("mysqli_refresh", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
F0("mysqli_stmt_attr_set", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
F0("mysqli_stmt_attr_get", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG),