src/Apcu.php
/**
     * {@inheritdoc}
     *
     * APC does not support natively cache-tags so we simulate them.
     */
APC does not support natively cache-tags so we simulate them.
APC does not support natively cache - tags so we simulate them .
public function delete($key)
    {
        $key = $this->mapKey($key);
        if (($success = apcu_delete($key)) && $this->options['tag_enable']) {
            $iterator = $this->getIterator(
                '/^' . preg_quote($this->options['prefix_tag']) . '/',
                \APC_ITER_VALUE
            );
            foreach ($iterator as $tag => $keys) {
                if (false !== ($k = array_search($key, $keys['value']))) {
                    unset($keys['value'][$k]);
                    if (empty($keys['value'])) {
                        apcu_delete($tag);
                    } else {
                        apcu_store($tag, $keys['value']);
                    }
                }
                continue;
            }
        }
        return $success;
    }
public function delete ( $ key ) { $ key = $ this -> mapKey ( $ key ) ; if ( ( $ success = apcu_delete ( $ key ) ) && $ this -> options [ 'tag_enable' ] ) { $ iterator = $ this -> getIterator ( '/^' . preg_quote ( $ this -> options [ 'prefix_tag' ] ) . '/' , \ APC_ITER_VALUE ) ; foreach ( $ iterator as $ tag => $ keys ) { if ( false !== ( $ k = array_search ( $ key , $ keys [ 'value' ] ) ) ) { unset ( $ keys [ 'value' ] [ $ k ] ) ; if ( empty ( $ keys [ 'value' ] ) ) { apcu_delete ( $ tag ) ; } else { apcu_store ( $ tag , $ keys [ 'value' ] ) ; } } continue ; } } return $ success ; }
{@inheritdoc}
 APC does not support natively cache-tags so we simulate them.
{ @inheritdoc } APC does not support natively cache - tags so we simulate them .