Judy::firstEmpty

(PECL judy >= 0.1.1)

Judy::firstEmptySearch for the first absent index in the Judy array

Descrierea

public Judy::firstEmpty ([ mixed $index = 0 ] ) : int

Search (inclusive) for the first absent index that is equal to or greater than the passed Index.

Parametri

index

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

Valorile întoarse

Return the corresponding index in the array.