Judy
PHP Manual

Judy::nextEmpty

(PECL judy >= 0.1.1)

Judy::nextEmptySearch for the next absent index in the Judy array

说明

public int Judy::nextEmpty ( int $index )

Search (exclusive) for the next absent index that is greater than the passed Index.

参数

index

The index can be an integer or a string corresponding to the index where to start the search.

返回值

Return the corresponding index in the array.


Judy
PHP Manual