k2hpx_q_empty k2hash Functions k2hpx_q_handle

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

Return Values

Returns true on success or false on failure.

Examples

<?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)
k2hpx_q_empty k2hash Functions k2hpx_q_handle