xref: /PHP-8.1/ext/xmlreader/tests/bug74457.phpt (revision 74859783)
1--TEST--
2XMLReader: Bug #74457 Wrong reflection on XMLReader::expand
3--EXTENSIONS--
4xmlreader
5--FILE--
6<?php
7$rm = new ReflectionMethod(XMLReader::class, 'expand');
8var_dump($rm->getNumberOfParameters());
9var_dump($rm->getNumberOfRequiredParameters());
10?>
11--EXPECT--
12int(1)
13int(0)
14