Fiber::__construct
(PHP 8 >= 8.1.0)
Fiber::__construct — 创建新的 Fiber 实例
说明
参数
-
callback
-
启动 fiber 时调用 callable。提供给 Fiber::start() 的参数,也将是调用 callable 时的参数。

User Contributed Notes
There are no user contributed notes for this page.
(PHP 8 >= 8.1.0)
Fiber::__construct — 创建新的 Fiber 实例
callback
启动 fiber 时调用 callable。提供给 Fiber::start() 的参数,也将是调用 callable 时的参数。