$func =  0;
$funList = ['one', 'two'];
call_user_func_array(array($this,$funList[$func]),array('A','B'));

相关文章: