k2hpx_q_read
Returns a key/value pair from the K2hQueue
Description
string k2hpx_q_read ( mixed $qhandle_res [, int $pos [, stringnull $pass ]] )
Returns a value from the K2hQueue. This operation will not remove the value from the K2hQueue.
Note
This operation will not remove the element from the K2hQueue. Use k2hpx_keyq_pop to removes and returns the element instead.
Parameters
- qhandle_res
Specifies the K2hQueue file handle that k2hpx_q_handle returns. - pos
Specifies the position of the K2hQueue. - pass
Specifies the password to decrypt the value.
Return Values
Returns a value.
See Also
- K2hQueue::read - Returns a key/value pair from the K2hQueue