How can I compare more than one string by using == in php? : How can I compare more than one string by using `==` in php:

    if( $variables == "string-1" or "string-2"){
        $variables='desired string';
      }
Is there any better or more formal method for it?