xref: /PHP-7.4/ext/xmlreader/tests/bug74457.phpt (revision 4c0e50c8)
1--TEST--
2XMLReader: Bug #74457 Wrong reflection on XMLReader::expand
3--SKIPIF--
4<?php if (!extension_loaded("xmlreader")) die("skip xmlreader extension not available"); ?>
5--FILE--
6<?php
7$rm = new ReflectionMethod(XMLReader::class, 'expand');
8var_dump($rm->getNumberOfParameters());
9var_dump($rm->getNumberOfRequiredParameters());
10?>
11===DONE===
12--EXPECT--
13int(1)
14int(0)
15===DONE===
16