PHP 8.5.0 RC 5 available for testing

Fiber::getReturn

(PHP 8 >= 8.1.0)

Fiber::getReturnGets the value returned by the Fiber

Description

public 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.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /