3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ?> 1 + 1 = <?= 1 + 1 ?>
based on 9WYRe
Output for 5.4.0 - 7.1.0
1 + 1 = 2
Output for 4.3.0 - 5.3.29
1 + 1 = <?= 1 + 1 ?>