public function insert($offset, $value)
	{
		$offset = $this->normalizeKey($offset);
		$value  = $this->normalizeValue($value);

		// Insert the value at given offset. We put the value into an array so that array_splice()
		// won't insert it as multiple elements if it happens to be an array
		array_splice($this->items, $offset, 0, [$value]);

		return $value;
	}
public function insert($offset, $value)
	{
		$offset = $this->normalizeKey($offset);
		$value  = $this->normalizeValue($value);

		// Insert the value at given offset. We put the value into an array so that array_splice()
		// won't insert it as multiple elements if it happens to be an array
		array_splice($this->items, $offset, 0, [$value]);

		return $value;
	}
public function insert ( $ offset , $ value ) { $ offset = $ this -> normalizeKey ( $ offset ) ; $ value = $ this -> normalizeValue ( $ value ) ; // Insert the value at given offset. We put the value into an array so that array_splice() // won't insert it as multiple elements if it happens to be an array array_splice ( $ this -> items , $ offset , 0 , [ $ value ] ) ; return $ value ; }
Insert a value at an arbitrary 0-based position

@param  integer $offset
@param  mixed   $value
@return mixed           Normalized value
Insert a value at an arbitrary 0 - based position