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