title: check compound condition using OR and AND in php
body: <p>I want to check the condition either of one among $flag1==1 or $flag2==2 or $flag3==3 along with that $flag4 == 4 is true then I want to execute a statement.This is not working in php.I tried: </p>
  
  <pre><code> if (($flag1==1 or  $flag2 == 2 or  $flag3 ==3) and $flag == 4)
          {
  
           $variable1 ='Change in Asset and Transformation Approach';
           echo $variable1;
      }
  </code></pre>