Actually that code should work, and return true if either the $username or the $email are equal to their respective "forgotten" elements.
Though it is inconsistent to bracket one comparison but not the other, it doesn't break the expression, since OR has a lower precedence than == anyway.