private function get() {

		// Get next input character and advance position in file
		if ($this->inPos < $this->inLength) {
			$c = $this->in[$this->inPos];
			++$this->inPos;
		}
		else {
			return self::EOF;
		}

		// Test for non-problematic characters
		if ($c === "\n" || $c === self::EOF || ord($c) >= self::ORD_space) {
			return $c;
		}

		// else
		// Make linefeeds into newlines
		
		if ($c === "\r") {
			return "\n";
		}

		// else
		// Consider space

		return ' ';
	}
private function get() {

		// Get next input character and advance position in file
		if ($this->inPos < $this->inLength) {
			$c = $this->in[$this->inPos];
			++$this->inPos;
		}
		else {
			return self::EOF;
		}

		// Test for non-problematic characters
		if ($c === "\n" || $c === self::EOF || ord($c) >= self::ORD_space) {
			return $c;
		}

		// else
		// Make linefeeds into newlines
		
		if ($c === "\r") {
			return "\n";
		}

		// else
		// Consider space

		return ' ';
	}
private function get ( ) { // Get next input character and advance position in file if ( $ this -> inPos < $ this -> inLength ) { $ c = $ this -> in [ $ this -> inPos ] ; ++ $ this -> inPos ; } else { return self :: EOF ; } // Test for non-problematic characters if ( $ c === "\n" || $ c === self :: EOF || ord ( $ c ) >= self :: ORD_space ) { return $ c ; } // else // Make linefeeds into newlines if ( $ c === "\r" ) { return "\n" ; } // else // Consider space return ' ' ; }
Get the next character from the input stream.

If said character is a control character, translate it to a space or linefeed.

@return  string      The next character from the specified input stream.
@see     $in
@see     peek()
Get the next character from the input stream .