php8.5
Home/ Manual/ predefined / fiber/ Fiber::isTerminated

Fiber::isTerminated

PHP function Edit on GitHub ✎

(PHP 8 >= 8.1.0)

Determines if the fiber has terminated

Description

Fiber::isTerminated(): bool

Parameters Parameters

Return Values

Returns true only after the fiber has terminated, either by returning or throwing an exception; otherwise false is returned.

Source: language/predefined/fiber/isterminated.xml · from the official PHP manual (php/doc-en)