PHP 8.1.2 Released!


(PECL swoole >= 1.9.0)

Swoole\Connection\Iterator::validCheck if current position is valid.


public Swoole\Connection\Iterator::valid(): bool

Checks if the current position is valid.


This function has no parameters.

Return Values

Returns TRUE if the current iterator position is valid, otherwise FALSE.

add a note add a note

User Contributed Notes

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