2013-01-18 27 views

回答

2

你会使用array,第一项是对象,第二个是函数名的字符串要拨打:

call_user_func_array(array($classObj, $func), $params); 

这是使用在callback的例子PHP。

相关问题