summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/bug74737.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/bug74737.phpt')
-rw-r--r--ext/mysqli/tests/bug74737.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/mysqli/tests/bug74737.phpt b/ext/mysqli/tests/bug74737.phpt
new file mode 100644
index 0000000000..b45f843830
--- /dev/null
+++ b/ext/mysqli/tests/bug74737.phpt
@@ -0,0 +1,19 @@
+--TEST--
+Bug #74737: Incorrect ReflectionFunction information for mysqli_get_client_info
+--SKIPIF--
+<?php
+require_once('skipif.inc');
+if (!extension_loaded('reflection')) { die("skip"); }
+?>
+--FILE--
+<?php
+$client_info = mysqli_get_client_info();
+$rf = new ReflectionFunction('mysqli_get_client_info');
+echo $rf->getNumberOfParameters();
+echo PHP_EOL;
+echo $rf->getNumberOfRequiredParameters();
+?>
+
+--EXPECT--
+0
+0