Swoole\Coroutine::call_user_func
PHP Manual
PHP Manual»Swoole\Coroutine»Swoole\Coroutine::call_user_func

Swoole\Coroutine::call_user_func

(PECL swoole >= 2.0.0)

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

Descrizione

public static function Swoole\Coroutine::call_user_func(callable $callback, mixed ...$args): mixed

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

Elenco dei parametri

callback

The callable to be called.

args

Zero or more parameters to be passed to the callback.

Valori restituiti

To Top