在线文档教程

Judy::last

Judy::last

(PECL judy >= 0.1.1)

Judy::last — Search for the last index in the Judy array

Description

public void Judy::last ([ string $index ] )

Search (inclusive) for the last index present that is equal to or less 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.

← Judy::getType

Judy::lastEmpty →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/judy.last.php