k2hdkcpx_cas_get k2hdkcpx Functions k2hdkcpx_cas_init

k2hdkcpx_cas_increment

Increments a variable in a cluster by using a CAS operation

Description

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

Increments a value using CAS operation.

Parameters

Return Values

Returns true on success or false on failure.

See Also

k2hdkcpx_cas_get k2hdkcpx Functions k2hdkcpx_cas_init