标签: php exception xdebug
假设:
$ name不存在,$ args不为空
try() { $results = call_user_func_array($name, $args); } catch(Exception $ex) { echo 'Catched!' }
预期:
prints "Catched!"
结果:
Warning: call_user_func_array() [function.call-user-func-array]: Unable to call