PHP 8.4.2 Released!

Fiber::getCurrent

(PHP 8 >= 8.1.0)

Fiber::getCurrentGets the currently executing Fiber instance

Descrizione

public static Fiber::getCurrent(): ?Fiber

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the currently executing Fiber instance or null if this method is called from outside a fiber.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top