public function peekToEnd()
    {
        return substr($this->string, $this->scanOffset, strlen($this->string) - $this->scanOffset);        
    }
public function peekToEnd()
    {
        return substr($this->string, $this->scanOffset, strlen($this->string) - $this->scanOffset);        
    }
public function peekToEnd ( ) { return substr ( $ this -> string , $ this -> scanOffset , strlen ( $ this -> string ) - $ this -> scanOffset ) ; }
Peek to the end of the string.

@return string The content from the current offset of the scanner to the end of the string.
Peek to the end of the string .