3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=1;$i<101;$i++)echo $i%15?$i%5?$i%3?$i:’Fizz’:'Buzz’:'FizzBuzz’,”\n”;
Output for 5.4.0 - 5.4.9
Parse error: syntax error, unexpected 'FizzBuzz’' (T_STRING) in /in/8VkMp on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected T_STRING in /in/8VkMp on line 2
Process exited with code 255.