title: PHP If Statement (regarding numerical values)
body: <pre><code>$a = 3;  
  $b = $a++;
  
  if ($a &gt; $b) { echo “a &gt; $b” }
  else if ($a == $b) { echo “a = $b” }
  else { echo “a &lt; $b” }
  </code></pre>
  
  <p>When I work through this question, I get a=3, b=4 (3+1). Hence both the If and Else If conditions are false, so I go to Else and final answer is: a &lt; 4.</p>
  
  <p>However, the answer according to the mark scheme is: a > 3 meaning that the If condition is true. How could $a be larger than $b? Thanks</p>