• PHP Video Tutorials

PHP Judy Arrays - Judy::nextEmpty()



Judy::nextEmpty() function can search for the next absent index in Judy array.

Syntax

public int Judy::nextEmpty( int $index )

Judy::nextEmpty() function can search (exclusive) for the next absent index that is greater than the passed Index.

Judy::nextEmpty() function can return the corresponding index in an array.

php_function_reference.htm
Advertisements