summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-07 11:42:22 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-07 16:32:11 +0200
commitf085bddb51cf3ce4400f89447e40ddac66468f31 (patch)
tree201c2d93bcaa632a739ac42a1caea8d9fbe5e193 /ext/mysqli
parent1dbf80bcc23e1fe1520e95f0e8ef732348499c76 (diff)
downloadphp-git-f085bddb51cf3ce4400f89447e40ddac66468f31.tar.gz
Fix number of required arguments in arginfo
* pack() only requires one argument * stream_context_set_option() only requires two arguments * ReflectionMethod::getClosure() accepts no args for static methods * DOMDocument::createProcessingInstruction() only requires one arg * DOMImplementation::createDocument() only requires two arguments * DOMDocument::importNode() only requires one arg * mysql_get_client_version() doesn't accept any args, despite what the docs say...
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/mysqli_fe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_fe.c b/ext/mysqli/mysqli_fe.c
index f17f009830..4869228ef2 100644
--- a/ext/mysqli/mysqli_fe.c
+++ b/ext/mysqli/mysqli_fe.c
@@ -448,7 +448,7 @@ const zend_function_entry mysqli_functions[] = {
PHP_FE(mysqli_get_charset, arginfo_mysqli_only_link)
#endif
PHP_FE(mysqli_get_client_info, arginfo_mysqli_no_options)
- PHP_FE(mysqli_get_client_version, arginfo_mysqli_only_link)
+ PHP_FE(mysqli_get_client_version, arginfo_mysqli_no_options)
PHP_FE(mysqli_get_links_stats, arginfo_mysqli_no_options)
PHP_FE(mysqli_get_host_info, arginfo_mysqli_only_link)
PHP_FE(mysqli_get_proto_info, arginfo_mysqli_only_link)