Swoole\Coroutine::call_user_func

(PHP 7, PECL swoole >= 2.0.0)

Swoole\Coroutine::call_user_funcCall a callback given by the first parameter

说锟斤拷

public static Swoole\Coroutine::call_user_func ( callable $callback [, mixed $... ] ) : mixed

Calls the callback given by the first parameter and passes the remaining parameters as arguments.

锟斤拷锟斤拷

callback

The callable to be called.

...

Zero or more parameters to be passed to the callback.

锟斤拷锟斤拷值