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 n6JGg
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant i - assumed 'i' in /in/P01ZX on line 6 hellohelloworld