Array Access: Offset Unset
327856
public function offsetUnset($offset)
    {
        $canonical = $this->canonical($offset);
        unset($this->headers[$canonical], $this->map[$canonical]);
    }
228202
public function offsetUnset($index)
	{
		if (isset($this->children[$index])) {
			array_splice($this->children, (int)$index, 1);
		}
	}
1357246
public static function unsetFields($array, $fields = null)
    {
        if (!is_array($array)) {
            $fields = [];
        }
        foreach ($array as $key => $value) {
            if (is_string($key) && in_array($key, $fields)) {
                unset($array[$key]);
            }
        }
        return $array;
    }
493943
public function offsetUnset ($offset) {
		$this->_string = $this->offsetBefore($offset) . $this->offsetAfter($offset + 1);
		$this->_length--;
	}
1371577
public function offsetUnset($offset)
    {
        $property = lcfirst($this->toCamelCase($offset));

        $this->$property = null;
    }
714196
function( array, offset ){
    var gl = this.gl;
    gl.bindBuffer(    TGT, this.buffer );
    gl.bufferSubData( TGT, offset, array );
    gl.bindBuffer(    TGT, null );
  }
1033582
public function offsetUnset($offset)
    {
        if ($this->length() < abs($offset)) {
            return;
        }

        $this->string = Str::removeChar($this->string, $offset, 1, $this->encoding);
    }
389497
public function offsetUnset($offset)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');
        
        $this->list = Model::i($this->list)
            ->cut($offset)
            ->get();
    }
1281311
public function offsetUnset($offset)
	{
		if (!$this->offsetExists($offset))
		{
			// Do nothing if the offset does not exist.
			return;
		}

		// Check for special handling of unsetting the current position.
		if ($offset == $this->current)
		{
			// Get the current position.
			$keys = $this->keys();
			$position = array_search($this->current, $keys);

			// Check if there is an object before the current object.
			if ($position > 0)
			{
				// Move the current position back one.
				$this->current = $keys[$position - 1];
			}
			else
			{
				// We are at the start of the keys AND let's assume we are in a foreach loop and `next` is going to be called.
				$this->current = false;
			}
		}

		unset($this->objects[$offset]);
	}
1178603
public function offsetUnset($offset)
    {
        if ($this->has($offset)) {
            unset(
                $this->_store[$offset],
                $this->_frozen[$offset]
            );
        }
    }
317802
private function _arrayShiftAssoc(array &$array)
    {
        if (empty($array)) {
            return null;
        }
        
        // Make sure that the array variable is pointing to the beginning of the array
        reset($array);
        
        // Now, get the first key and first value
        $firstKey   = key($array);
        $firstValue = current($array); // equivalent to $array[$firstKey]
        
        unset($array[$firstKey]);
        
        return [$firstKey, $firstValue];
    }
150910
public function offsetUnset($offset)
    {
        if ($this->offsetExists($offset) && $this->internalFilterHooks($offset, null, 'remove')) {
            $oldData = $this->offsetGet($offset);

            unset($this->baseConcreteData[$offset]);
            if (($index = array_search($offset, $this->baseArrayMap, true)) !== false) {
                unset($this->baseArrayMap[$index]);
            }
            $this->baseArrayMap = array_values($this->baseArrayMap);

            $this->arrayAccessMapIndex = count($this->baseArrayMap);

            $this->internalChangingHooks($offset, null, $oldData, 'remove');
        }
    }
1088461
public function offsetUnset($offset) {
		if($this->isCollection)
		{
			unset($this->data[$offset]);
		}
		else
		{
			unset($this->data->{$offset});
		}
	}
150671
public function offsetSet ($offset, $value) {
        if ($offset === NULL) {
            $this->data[] = $value;
        } else {
            $this->data[$offset] = $value;
        }
    }
330841
public function offsetUnset($offset)
    {
        $this->str = $this->getPrefix($offset) . chr(0x00) . $this->getSuffix($offset);
    }
482612
public function offsetUnset($offset)
    {
        unset($this->items[$offset]);

        $this->keys = array_keys($this->items);
    }
1314456
public function offsetUnset($offset)
    {
        if ($this->offsetExists($offset)) {
            unset($this->collection[$offset]);
            $this->collectionCount--;
        }
    }