Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Coroutine::call_user_funcSwoole\Coroutine::cli_wait>
^Swoole\CoroutineLast updated: Mon, 26 Oct 2026

Swoole\Coroutine::call_user_func_array

(PECL swoole >= 2.0.0)

Swoole\Coroutine::call_user_func_array — Call a callback with an array of parameters

Description

public static function 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


<Swoole\Coroutine::call_user_funcSwoole\Coroutine::cli_wait>
^Swoole\CoroutineLast updated: Mon, 26 Oct 2026