lib/ArrayHandler.php
public function remove($path)
    {
        $path = explode($this->separator, $path);
        $last = array_pop($path);

        $item = &$this->item;

        foreach ($path as $key) {
            if (array_key_exists($key, $item) && is_array($item[$key])) {
                $item = &$item[$key];
                continue;
            }
            return false;
        }
        
        if (array_key_exists($last, $item)) {
            unset($item[$last]);
            return true;
        }

        return false;
    }
public function remove($path)
    {
        $path = explode($this->separator, $path);
        $last = array_pop($path);

        $item = &$this->item;

        foreach ($path as $key) {
            if (array_key_exists($key, $item) && is_array($item[$key])) {
                $item = &$item[$key];
                continue;
            }
            return false;
        }
        
        if (array_key_exists($last, $item)) {
            unset($item[$last]);
            return true;
        }

        return false;
    }
public function remove ( $ path ) { $ path = explode ( $ this -> separator , $ path ) ; $ last = array_pop ( $ path ) ; $ item = & $ this -> item ; foreach ( $ path as $ key ) { if ( array_key_exists ( $ key , $ item ) && is_array ( $ item [ $ key ] ) ) { $ item = & $ item [ $ key ] ; continue ; } return false ; } if ( array_key_exists ( $ last , $ item ) ) { unset ( $ item [ $ last ] ) ; return true ; } return false ; }
Remove a path

@access  public

@param   string  $path   Path to be removed

@return  boolean
Remove a path