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--EXPECT-- 14int(1) 15int(1) 16int(2) 17int(2) 18