blob: 17ed5c5c69ff40f845b914c739722d4da5c23739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
XMLReader: Bug #74457 Wrong reflection on XMLReader::expand
--SKIPIF--
<?php if (!extension_loaded("xmlreader")) die("skip xmlreader extension not available"); ?>
--FILE--
<?php
$rm = new ReflectionMethod(XMLReader::class, 'expand');
var_dump($rm->getNumberOfParameters());
var_dump($rm->getNumberOfRequiredParameters());
?>
===DONE===
--EXPECT--
int(1)
int(0)
===DONE===
|