PHP 8.4.0 RC2 available for testing

Swoole\Coroutine::call_user_func

(PECL swoole >= 2.0.0)

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

Açıklama

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

Bağımsız Değişkenler

callback

The callable to be called.

args

Zero or more parameters to be passed to the callback.

Dönen Değerler

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top