expecting = $expecting; } public function __toString() { return "MismatchedTokenException(".$this->getUnexpectedType()."!=".$this->expecting.")"; } } ?>