k2hdkcpx_add_subkey k2hdkcpx Functions k2hdkcpx_cas_get

k2hdkcpx_cas_decrement

Decrements a value using CAS operation

Description

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

Decrements a value using CAS operation.

Parameters

Return Values

Returns true on success or false on failure.

See Also

k2hdkcpx_add_subkey k2hdkcpx Functions k2hdkcpx_cas_get