public function offsetUnset($offset)
    {
        $keys = explode($this->keySeparator, $offset);

        $keyCount = count($keys);

        $array = &$this->values;

        while ($keyCount > 1) {
            $key = array_shift($keys);

            if (isset($array[$key]) && is_array($array[$key])) {
                $array = &$array[$key];
            }

            --$keyCount;
        }

        unset($array[array_shift($keys)]);
    }
public function offsetUnset($offset)
    {
        $keys = explode($this->keySeparator, $offset);

        $keyCount = count($keys);

        $array = &$this->values;

        while ($keyCount > 1) {
            $key = array_shift($keys);

            if (isset($array[$key]) && is_array($array[$key])) {
                $array = &$array[$key];
            }

            --$keyCount;
        }

        unset($array[array_shift($keys)]);
    }
public function offsetUnset ( $ offset ) { $ keys = explode ( $ this -> keySeparator , $ offset ) ; $ keyCount = count ( $ keys ) ; $ array = & $ this -> values ; while ( $ keyCount > 1 ) { $ key = array_shift ( $ keys ) ; if ( isset ( $ array [ $ key ] ) && is_array ( $ array [ $ key ] ) ) { $ array = & $ array [ $ key ] ; } -- $ keyCount ; } unset ( $ array [ array_shift ( $ keys ) ] ) ; }
Offset to unset.

@link  http://php.net/manual/en/arrayaccess.offsetunset.php

@param mixed $offset <p>
The offset to unset.
</p>

@since 5.0.0
Offset to unset .