3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hello = "hello" . "world"; $a = null; for($i = 0; $i > 5; $i++) { $a++; } $fuck = true; print "hello"; if ($fuck === true && $fuck !== false) { print $hello . "\n"; }
based on P01ZX
Output for 4.3.0 - 7.1.0
hellohelloworld