3v4l.org

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