private function purgeNonceWord(string $key, array $word, int $stop_nonce, array &$new_nonce_list)
    {
        foreach ($word as $nonce) {
            if ($nonce['time'] >= $stop_nonce) {
                if (!array_key_exists($key, $new_nonce_list)) {
                    $new_nonce_list[$key] = array();
                }
                $new_nonce_list[$key][] = $nonce;
            }
        }
    }
private function purgeNonceWord(string $key, array $word, int $stop_nonce, array &$new_nonce_list)
    {
        foreach ($word as $nonce) {
            if ($nonce['time'] >= $stop_nonce) {
                if (!array_key_exists($key, $new_nonce_list)) {
                    $new_nonce_list[$key] = array();
                }
                $new_nonce_list[$key][] = $nonce;
            }
        }
    }
private function purgeNonceWord ( string $ key , array $ word , int $ stop_nonce , array & $ new_nonce_list ) { foreach ( $ word as $ nonce ) { if ( $ nonce [ 'time' ] >= $ stop_nonce ) { if ( ! array_key_exists ( $ key , $ new_nonce_list ) ) { $ new_nonce_list [ $ key ] = array ( ) ; } $ new_nonce_list [ $ key ] [ ] = $ nonce ; } } }
Purge a Nonce Word list.
@param string $key Nonce key
@param array $word Array of words created for $key
@param int $stop_nonce Time limit of words to preserve each one
@param array &$new_nonce_list New nonce list which is being built
Purge a Nonce Word list .