k2hdkcpx_cas_init k2hdkcpx Functions k2hdkcpx_clear_subkeys

k2hdkcpx_cas_set

Sets a value using CAS operation

Description

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

Sets a value using CAS operation.

Parameters

Return Values

Returns true on success, otherwise false.

See Also

k2hdkcpx_cas_init k2hdkcpx Functions k2hdkcpx_clear_subkeys