fork download
  1. <?php
  2. $a=1;
  3. $b=0;
  4. if($a > $b):
  5. echo $a." is greater than ".$b;
  6. echo "x";
  7. elseif($a == $b): // Note the combination of the words.
  8. echo $a." equals ".$b;
  9. else:
  10. echo $a." is neither greater than or equal to ".$b;
  11. endif;
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
1 is greater than 0x