International PHP Conference Berlin 2023

Fiber::__construct

(PHP 8 >= 8.1.0)

Fiber::__constructCreates a new Fiber instance

Beschreibung

public Fiber::__construct(callable $callback)

Parameter-Liste

callback

The callable to invoke when starting the fiber. Arguments given to Fiber::start() will be provided as arguments to the given callable.

add a note

User Contributed Notes

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