mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
23 lines
548 B
PHP
23 lines
548 B
PHP
--TEST--
|
|
Bug #75434 Wrong reflection for mysqli_fetch_all function
|
|
--SKIPIF--
|
|
<?php
|
|
require_once('skipif.inc');
|
|
if (!stristr(mysqli_get_client_info(), 'mysqlnd')) die("skip: only available in mysqlnd");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$rf = new ReflectionFunction('mysqli_fetch_all');
|
|
var_dump($rf->getNumberOfParameters());
|
|
var_dump($rf->getNumberOfRequiredParameters());
|
|
|
|
$rm = new ReflectionMethod('mysqli_result', 'fetch_all');
|
|
var_dump($rm->getNumberOfParameters());
|
|
var_dump($rm->getNumberOfRequiredParameters());
|
|
?>
|
|
--EXPECT--
|
|
int(2)
|
|
int(1)
|
|
int(1)
|
|
int(0)
|