k2hpx_keyq_free k2hash Functions k2hpx_keyq_pop

k2hpx_keyq_handle

Gets the K2hKeyQueue file handle

Description

mixed k2hpx_keyq_handle ( mixed $handle_res [, bool $is_filo [, stringnull $prefix ]] )

Gets the K2hKeyQueue handle.

Parameters

Return Values

Returns the K2hKeyQueue file handle.

Examples

<?php
$handle = k2hpx_open_mem();
$keyqhandle = k2hpx_keyq_handle($handle, true, "test_queue_");
var_dump($keyqhandle);
k2hpx_keyq_free($keyqhandle);
k2hpx_close($handle);
?>

The above example will output:

resource(5) of type (k2hkeyqhandle)

See Also

k2hpx_keyq_free k2hash Functions k2hpx_keyq_pop