PHP Judy 陣列 - Judy::lastEmpty()



Judy::lastEmpty() 函式可以搜尋 Judy 陣列中最後一個空閒索引。

語法

public int Judy::lastEmpty([ int $index = -1 ] )

Judy::lastEmpty() 函式可以(包含)搜尋小於或等於傳入索引的最後一個空閒索引。此函式可以返回陣列中對應的索引。

php_function_reference.htm
廣告

© . All rights reserved.