3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $rf = new ReflectionFunction('mbereg_search_setpos'); printf("%d / %d\n", $rf->getNumberOfParameters(), $rf->getNumberOfRequiredParameters());
based on GiV0B
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
1 / 1
Output for hhvm-3.15.4
Fatal error: Uncaught exception 'ReflectionException' with message 'Function mbereg_search_setpos does not exist' in /in/KNJHH:3 Stack trace: #0 /in/KNJHH(3): ReflectionFunction->__construct() #1 {main}
Process exited with code 255.