php8.5
Home/ Manual/ swoole / coroutine/ Swoole\Coroutine::call_user_func_array

Swoole\Coroutine::call_user_func_array

PHP function Edit on GitHub ✎

(PECL swoole >= 2.0.0)

Call a callback with an array of parameters

Description

Swoole\Coroutine::call_user_func_array(callable $callback, array $param_array): mixed

Calls the callback given by the first parameter with the parameters in param_array.

Parameters

callback

The callable to be called.

param_array

Zero or more parameters in the array to be passed to the callback.

Return Values

Source: reference/swoole/swoole/coroutine/call-user-func-array.xml · from the official PHP manual (php/doc-en)