summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/bug74737.phpt
blob: b45f843830f4dc939e77f2e70998ee23c322de9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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