public function scanToEnd()
    {
        $scanned = substr($this->string, $this->scanOffset, strlen($this->string) - $this->scanOffset);
        $this->scanOffset = strlen($this->string);
        
        return $scanned;
    }
public function scanToEnd()
    {
        $scanned = substr($this->string, $this->scanOffset, strlen($this->string) - $this->scanOffset);
        $this->scanOffset = strlen($this->string);
        
        return $scanned;
    }
public function scanToEnd ( ) { $ scanned = substr ( $ this -> string , $ this -> scanOffset , strlen ( $ this -> string ) - $ this -> scanOffset ) ; $ this -> scanOffset = strlen ( $ this -> string ) ; return $ scanned ; }
Scan to the end of the string.

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