ReflectionFiber::getExecutingLine

(PHP 8 >= 8.1.0)

ReflectionFiber::getExecutingLineGet the line number of the current execution point

Description

publicReflectionFiber::getExecutingLine(): int

Returns the line number of the current execution point in the reflected Fiber. If the fiber has not been started or has terminated, an Error is thrown.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

The line number of the current execution point in the fiber.

To Top