k2hpx_q_free k2hash Functions k2hpx_q_pop

k2hpx_q_handle

Gets the K2hQueue file handle

Description

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

Gets the K2hQueue handle.

Parameters

Return Values

Returns the K2hQueue file handle.

Examples

<?php
$handle = k2hpx_open_mem();
$qhandle = k2hpx_q_handle($handle, true, "test_queue_");
var_dump($qhandle);
k2hpx_q_free($qhandle);
k2hpx_close($handle);
?>

The above example will output:

resource(5) of type (k2hqhandle)

See Also

k2hpx_q_free k2hash Functions k2hpx_q_pop