PHP Judy 陣列 - Judy::firstEmpty()



Judy::firstEmpty() 函式可以搜尋 Judy 陣列中第一個缺失的索引。

語法

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

Judy::firstEmpty() 函式可以(包含)搜尋第一個等於或大於傳遞的索引的缺失索引。此函式可以返回陣列中相應的索引。

php_function_reference.htm
廣告

© . All rights reserved.