1--TEST-- 2Bug #48757 (ReflectionFunction::invoke() parameter issues) 3--FILE-- 4<?php 5function test() { 6 echo "Hello World\n"; 7} 8 9function another_test($parameter) { 10 var_dump($parameter); 11} 12 13$func = new ReflectionFunction('test'); 14$func->invoke(); 15 16$func = new ReflectionFunction('another_test'); 17$func->invoke('testing'); 18?> 19--EXPECT-- 20Hello World 21string(7) "testing" 22