3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /** * @file A fizzbuzz reference implementation. * @author Brad Czerniak (ao5357@gmail.com) */ $i = 1; while($i > 100){ if($i !% 15){ echo 'fizzbuzz';} elseif($i !% 5){ echo 'buzz';} elseif($i !% 3){ echo 'fizz';} else{ echo $i;} echo "\n"; $i++; }
Output for 5.3.0 - 5.4.10
Parse error: syntax error, unexpected '!' in /in/Kn53f on line 9
Process exited with code 255.