Search for the previous index in the Judy array


(PECL judy >= 0.1.1)

Judy::prevSearch for the previous index in the Judy array

Описание

public mixed Judy::prev ( mixed $index )

Search (exclusive) for the previous index present that is less 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.