W3cubDocs

/PHP

Judy::first

(PECL judy >= 0.1.1)

Judy::firstSearch for the first index in the Judy array

Description

public Judy::first ([ mixed $index ] ) : mixed

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

Parameters

index

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

Return Values

Return the corresponding index in the array.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/judy.first.php