摘要:
1. call_user_func和call_user_func_array: 以上两个函数以不同的参数形式调用回调函数。见如下示例: $arg) { print "$arg\n"; }}myTest('hello','world','123456'); 运行结果如下:Stephens-Air:TestPhp$ php class_exist_test.php The number of args in myTest is 3The 0th arg is helloThe 1th arg is worldThe 2th arg 阅读全文