Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<FiberFiber::start>
^FiberLast updated: Mon, 26 Oct 2026

Fiber::__construct

(PHP 8 >= 8.1.0)

Fiber::__construct — Creates a new Fiber instance

Description

public function Fiber::__construct(callable $callback)

Parameters

callback

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


<FiberFiber::start>
^FiberLast updated: Mon, 26 Oct 2026