k2hdkcpx_queue_get
Gets a value from the queue
Description
/**
* @param resource $handle_res
*/
function k2hdkcpx_queue_get(
$handle_res,
string $prefix,
bool $is_fifo = true,
string $password = null): string|null {}
Gets a value from the queue.
Parameters
- handle_res
Specify the chmpx handle thatk2hdkcpx_open
returns. - prefix
Specify the prefix of queue name - is_fifo
Specifytrue
if the order of the queue is FIFO(First-In-First-Out), otherwisefalse
. - password
Specify the passphrase for encrypting the value. - expiration_duration
Specify the expiration duration in seconds.
Return Values
Returns value on success or null
on failure.
See Also
- K2hdkc::queueGet - Gets a value from the queue