CakeFest 2024: The Official CakePHP Conference

Fiber::__construct

(PHP 8 >= 8.1.0)

Fiber::__construct创建新的 Fiber 实例

说明

public Fiber::__construct(callable $callback)

参数

callback

启动 fiber 时调用 callable。提供给 Fiber::start() 的参数,也将是调用 callable 时的参数。

add a note

User Contributed Notes

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