3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($n = 1; $n < 100; ++$n) { if (($n % 15) == 0) print "FizzBuzz"; else if (($n % 5) == 0) print "Buzz"; else if (($n % 3) == 0) print "Fizz"; else print $n print " "; }
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'print' (T_PRINT) in /in/jOqCX on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_PRINT in /in/jOqCX on line 11
Process exited with code 255.