• PHP Video Tutorials

PHP Judy Arrays - Judy::lastEmpty()



The Judy::lastEmpty() function can search for the last absent index in Judy array.

Syntax

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

The Judy::lastEmpty() function can search (inclusive) for the last absent index that is equal to or less than the passed Index. This function can return the corresponding index in an array.

php_function_reference.htm
Advertisements