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::throwFiber::isStarted>
^FiberLast updated: Mon, 26 Oct 2026

Fiber::getReturn

(PHP 8 >= 8.1.0)

Fiber::getReturn — Gets the value returned by the Fiber

Description

public function Fiber::getReturn(): mixed

Parameters

This function has no parameters.

Return Values

Returns the value returned by the callable provided to Fiber::__construct(). If the fiber has not returned a value, either because it has not been started, has not terminated, or threw an exception, a FiberError will be thrown.


<Fiber::throwFiber::isStarted>
^FiberLast updated: Mon, 26 Oct 2026