1--TEST-- 2Bug #74708 Wrong reflection on random_bytes and random_int 3--FILE-- 4<?php 5$rf = new ReflectionFunction('random_bytes'); 6var_dump($rf->getNumberOfParameters()); 7var_dump($rf->getNumberOfRequiredParameters()); 8 9$rf = new ReflectionFunction('random_int'); 10var_dump($rf->getNumberOfParameters()); 11var_dump($rf->getNumberOfRequiredParameters()); 12?> 13===DONE=== 14--EXPECT-- 15int(1) 16int(1) 17int(2) 18int(2) 19===DONE=== 20