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