获取调试信息
@param int $offset
@return array
549513
public function getDebugInfo($offset = 0)
    {
        if ($offset == 0) {
            $offset = $this->cursor;
        }
        $content = substr($this->content, 0, $offset);
        $lines = explode("\n", $content);
        $line = count($lines);
        return ['line' => $line, 'src' => $this->tplname];
    }
1043275
public function offsetGet($offset)
    {
        $messages = $this->getMessages();

        return isset($messages[$offset]) ? $messages[$offset] : null;
    }
733476
public function offsetGet($offset) {
		$this->getElements();
        return isset($this->elements[$this->getPosition($offset)]) ? $this->elements[$this->getPosition($offset)] : null;
    }
382056
public function offsetGet($offset)
    {
        return isset($this->diffObjects[$offset]) ? $this->diffObjects[$offset] : null;
    }
1116656
public static function getThrowableData($ex, $offset = 0)
    {
        return [
            'message'   => $ex->getMessage(),
            'class'     => get_class($ex),
            'file'      => $ex->getFile(),
            'line'      => $ex->getLine(),
            'code'      => $ex->getCode(),
            'trace'     => static::getTraceElements($ex, $offset),
            'isError'   => $ex instanceof \Error,
            'prev'      => null
        ];
    }
1120661
public function offsetGet($offset) {
        return isset($this->nodes[$offset]) ? $this->nodes[$offset] : null;
    }
323304
public function offsetGet($offset)
    {
        if (!is_int($offset)) {
            $offset = array_search($offset, self::$reverseLookup);
        }

        return self::$references[$offset];
    }
159026
public function offsetGet($offset)
    {
        if (!parent::offsetExists($offset)) {
            if ($this->_cache) {
                $result = unserialize(apc_fetch($this->_cache_prefix.'-'.$offset));
            } else {
                $result = false;
            }
        } else {
            $result = parent::offsetGet($offset);
        }

        return $result;
    }
1294933
protected function setHeader(int $offset): array
    {
        $header = $this->seekRow($offset);
        if (false === $header || [] === $header) {
            throw new Exception(sprintf('The header record does not exist or is empty at offset: `%s`', $offset));
        }

        if (0 === $offset) {
            return $this->removeBOM($header, mb_strlen($this->getInputBOM()), $this->enclosure);
        }

        return $header;
    }
805808
public function offsetGet($offset)
    {
        $args = [$offset];
        $methodName = __FUNCTION__;

        return $this->findAndCall($methodName, $args);
    }
303417
public function offsetGet($offset)
    {
        $method = 'get'.static::formatOffset($offset);

        return $this->offsetExists($offset) ? $this->{$method}() : null;
    }
841156
public function offsetGet($offset)
    {
        return isset($this->dataPlaceHolder[$offset]) ? $this->dataPlaceHolder[$offset] : null;
    }
818080
public function offsetGet($offset)
    {
        $result = null;
        if (isset($this->_data[$offset])) {
            $result = $this->_data[$offset];
            if ($result instanceof AnConfig) {
                $result = $result->toArray();
            }
        }

        return $result;
    }
179062
public function offsetGet($offset)
    {
        if ($this->offsetExists($offset)) {
            foreach ($this->getInnerIterator() as $k => $v) {
                if ($k === $offset) {
                    return $v;
                }
            }
        }

        return null;
    }
1220208
public function item( $offset )
	{
		$offset = (int) $offset;

		if ( isset( $this->tokens[ $offset ] ) ) {
			return $this->tokens[ $offset ];
		}

		return null;
	}
861242
public function offsetGet($offset)
    {
        if (isset($this->values[$offset])) {
            return $this->values[$offset];
        }

        return null;
    }
1027287
public function getByteAt($offset)
    {
        $length = \strlen($this->_string);

        if (0 > $offset) {
            $offset = -$offset % $length;

            if (0 !== $offset) {
                $offset = $length - $offset;
            }
        } elseif ($offset >= $length) {
            $offset %= $length;
        }

        return $this->_string[$offset];
    }