/** * Equals - works better * * @param Literal $other * @return Boolean */ public function op_eq($other) { return new Boolean($this->value == $other->value || $this->toString() == $other->toString()); }