2
Bug #25038 (call_user_func issues warning if function throws exception)
6
function bar($x='no argument')
8
throw new Exception("This is an exception from bar({$x}).");
16
print $e->getMessage()."\n";
20
call_user_func('bar','second try');
24
print $e->getMessage()."\n";
30
This is an exception from bar(first try).
31
This is an exception from bar(second try).