k2hdkcpx Functions k2hdkcpx_cas_decrement

k2hdkcpx_add_subkey

Adds a new subkey to a key

Description

/**
 * @param resource $handle_res
 */
function k2hdkcpx_add_subkey(
    $handle_res,
    string $key,
    string $subkey,
    string $subval,
    bool $check_attr = true,
    string $password = null,
    int $expiration_duration = 0): bool {}

Associates the key with the other key. The key that is added to the other key is called ‘subkey’. The key that adds the other key to is ‘parent key’. A parent key can associates many subkeys.

Parameters

Return Values

Returns true on success or false on failure.

See Also

k2hdkcpx Functions k2hdkcpx_cas_decrement