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
 
<Fiber::__constructFiber::resume>
^FiberLast updated: Mon, 26 Oct 2026

Fiber::start

(PHP 8 >= 8.1.0)

Fiber::start — Start execution of the fiber

Description

public function Fiber::start(mixed ...$args): mixed

A variadic list of arguments to provide to the callable used when constructing the fiber.

If the fiber has already been started when this method is called, a FiberError will be thrown.

Parameters

args

The arguments to use when invoking the callable given to the fiber constructor.

Return Values

The value provided to the first call to Fiber::suspend() or null if the fiber returns. If the fiber throws an exception before suspending, it will be thrown from the call to this method.


<Fiber::__constructFiber::resume>
^FiberLast updated: Mon, 26 Oct 2026