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--EXPECT-- 12int(1) 13int(0) 14