k2hdkcpx_cas_decrement k2hdkcpx Functions k2hdkcpx_cas_increment

k2hdkcpx_cas_get

Gets a variable from a cluster using a CAS operation

Description

/**
 * @param resource $handle_res
 */
function k2hdkcpx_cas_get(
    $handle_res,
    string $key,
    string $password = null,
    int $expiration_duration = 0): int {}

Gets a variable from a cluster using a CAS operation.

Parameters

Return Values

Returns the value on success, otherwise 0(false).

See Also

k2hdkcpx_cas_decrement k2hdkcpx Functions k2hdkcpx_cas_increment