k2hpx_keyq_empty k2hash Functions k2hpx_keyq_handle

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

Return Values

Returns true on success or false on failure.

Examples

<?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)
k2hpx_keyq_empty k2hash Functions k2hpx_keyq_handle