src/Decoder.php
private function getChar($offset = null)
    {
        if (null === $offset) {
            $offset = $this->offset;
        }

        if (empty ($this->source) || $this->offset >= $this->sourceLength) {
            return false;
        }

        return $this->source[$offset];
    }
private function getChar($offset = null)
    {
        if (null === $offset) {
            $offset = $this->offset;
        }

        if (empty ($this->source) || $this->offset >= $this->sourceLength) {
            return false;
        }

        return $this->source[$offset];
    }
private function getChar ( $ offset = null ) { if ( null === $ offset ) { $ offset = $ this -> offset ; } if ( empty ( $ this -> source ) || $ this -> offset >= $ this -> sourceLength ) { return false ; } return $ this -> source [ $ offset ] ; }
Fetch the character at the specified source offset

If offset is not provided, the current offset is used.

@param  integer $offset The offset to retrieve from the source string.
@return string|false Returns the character found at the specified
offset. If the specified offset is out of range, FALSE is returned.
Fetch the character at the specified source offset