• PHP Video Tutorials

PHP Judy Arrays - Judy::firstEmpty()



Judy::firstEmpty() function can search for the first absent index in Judy array.

Syntax

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

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

php_function_reference.htm
Advertisements