// 1 普通函数
call_user_func('my_function');
// 2 类的静态方法
call_user_func(['MyClass', 'myCallbackMethod']);
// 3 对象方法
call_user_func([new MyClass(), 'myCallbackMethod']);
//4 类的静态方法(2)
call_user_func('MyClass::myCallbackMethod');
//5 匿名函数
call_user_func(function(){echo '匿名函数';});
//6 箭头函数
call_user_func(f……