in reply to Re: Defensive Programmingin thread Defensive Programming
return $somevar == $somevalue ? $this : $that; [download]
-Blake