3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num1 = 15; $num2 = 15; if ($num1 > $num2) {echo 'this is true';} elseif ($num1 < $num2) {echo 'this is true';} else {echo 'they must be equal then'} ?>
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/tkct3 on line 10
Process exited with code 255.