略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Swoole\Coroutine::call_user_func

2024-11-15

Swoole\Coroutine::call_user_func

(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 ...$args): mixed

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

参数

callback

The callable to be called.

args

Zero or more parameters to be passed to the callback.

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/swoole-coroutine.call-user-func.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3