src/Collections/FixedArray.php
public function offsetUnset($offset)
    {
        $index = $this->getKeyIndex($offset);

        if ($index >= 0) {
            // change size.
            $this->values->setSize($index - 1);

            unset($this->keys[$offset], $this->values[$index]);
        }
    }
public function offsetUnset($offset)
    {
        $index = $this->getKeyIndex($offset);

        if ($index >= 0) {
            // change size.
            $this->values->setSize($index - 1);

            unset($this->keys[$offset], $this->values[$index]);
        }
    }
public function offsetUnset ( $ offset ) { $ index = $ this -> getKeyIndex ( $ offset ) ; if ( $ index >= 0 ) { // change size. $ this -> values -> setSize ( $ index - 1 ) ; unset ( $ this -> keys [ $ offset ] , $ this -> values [ $ index ] ) ; } }
Unset an offset in the iterator.
@param   mixed $offset The array offset.
@return  void
Unset an offset in the iterator .