3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bar = 1; $foo = $bar + 2; echo $foo;
based on BRUBg
Output for 4.3.0 - 7.1.0
3