title: Simple IF/ELSEIF not comparing properly
body: <p>I'm new to PHP and this was asked before but the answers just won't cut it in my scenario.</p>
  
  <p>I have this piece of code:</p>
  
  <pre><code>  if ($node-&gt;field_available_for_payment[LANGUAGE_NONE][0]['value']==0){
    }  elseif($node-&gt;field_available_for_payment[LANGUAGE_NONE][0]['value']==1){
       $status="awaitingapproval";
    }  elseif (3===3){
       $status="paid";
    } elseif ($node-&gt;field_shipped[LANGUAGE_NONE][0]['value']==1){
       $status="shipped";
    } 
  
   var_dump($status);
  </code></pre>
  
  <p>I get back value <em>awaitingapproval</em> (the first <code>if/elseif</code> evaluate to
  <strong>TRUE</strong>).</p>
  
  <p>However shouldn't I be getting back '<em>paid</em>' instead since the 3===3 comparison evaluates to <strong>TRUE</strong>?</p>
  
  <p>as well?</p>
  
  <p>All the other S.0 answers regarding this type of questions mention the '=' operator vs '==' which is correct in my code. </p>