Swoole\Table->valid

Notice: ext-swoole is supported until v4.7.1, use ext-openswoole >= v4.7.1. Latest version: pecl install openswoole-4.9.1

Declaration

<?php
Swoole\Table->valid()

Parameters

Return

Description

This method is called after Swoole\Table->rewind() and Swoole\Table->next() to check if the current position is valid.

Example