k2hpx_q_free
Frees resources of the K2hQueue handle
Description
bool k2hpx_q_free ( mixed $qhandle_res )
Frees resources of the K2hQueue file handle.
Parameters
- qhandle_res
Specifies the K2hQueue file handle that k2hpx_keyq_handle returns.
Return Values
Returns true on success or false on failure.
Examples
- Example 1 - Frees resource of the K2hQueue file handle
<?php
$handle = k2hpx_open_mem();
$qhandle = k2hpx_q_handle($handle, true, "test_queue_");
var_dump(k2hpx_q_free($qhandle));
k2hpx_close($handle);
?>
The above example will output:
bool(true)