k2hpx_find_first k2hash Functions k2hpx_find_get_key

k2hpx_find_free

Releases resources of the k2hash file handle to search for keys

Description

bool k2hpx_find_free ( mixed $findhandle_res )

Releases resources of the k2hash file handle to search for keys

Parameters

Return Values

Returns true on success or false on failure.

Examples

<?php
$handle = k2hpx_open_mem();
k2hpx_set_value($handle, "test1", "value1");
$findhandle = k2hpx_find_first($handle);
var_dump($findhandle);
k2hpx_find_free($findhandle);
k2hpx_close($handle);
?>

The above example will output:

resource(5) of type (k2hfindhandle)

See Also

k2hpx_find_first k2hash Functions k2hpx_find_get_key