protected function get()
    {
        $c               = $this->lookAhead;
        $this->lookAhead = null;
        if ($c === null) {
            if ($this->inputIndex < $this->inputLength) {
                $c = $this->input[$this->inputIndex];
                $this->inputIndex += 1;
            } else {
                return;
            }
        }
        if ($c === "\r" || $c === "\n") {
            return "\n";
        }
        if (ord($c) < self::ORD_SPACE) {
            return ' ';
        }
        return $c;
    }
protected function get()
    {
        $c               = $this->lookAhead;
        $this->lookAhead = null;
        if ($c === null) {
            if ($this->inputIndex < $this->inputLength) {
                $c = $this->input[$this->inputIndex];
                $this->inputIndex += 1;
            } else {
                return;
            }
        }
        if ($c === "\r" || $c === "\n") {
            return "\n";
        }
        if (ord($c) < self::ORD_SPACE) {
            return ' ';
        }
        return $c;
    }
protected function get ( ) { $ c = $ this -> lookAhead ; $ this -> lookAhead = null ; if ( $ c === null ) { if ( $ this -> inputIndex < $ this -> inputLength ) { $ c = $ this -> input [ $ this -> inputIndex ] ; $ this -> inputIndex += 1 ; } else { return ; } } if ( $ c === "\r" || $ c === "\n" ) { return "\n" ; } if ( ord ( $ c ) < self :: ORD_SPACE ) { return ' ' ; } return $ c ; }
Get next character.

@since 150424 Initial release.

@return string|null Next char.
Get next character .