PHP 8.4.2 Released!

Ev::iteration

(PECL ev >= 0.2.0)

Ev::iterationReturn the number of times the default event loop has polled for new events

Description

final public static Ev::iteration(): int

Return the number of times the event loop has polled for new events. Sometimes useful as a generation counter.

Parameters

This function has no parameters.

Return Values

Returns number of polls of the default event loop.

See Also

add a note

User Contributed Notes

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