3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?for($b=99,$a=' bottles of beer',$c=' on the wall';$b;$b--)echo"$b$a$c, $b$a.\n".($b==1?"Go to the store and buy some more, 99$a$c":"Take one down and pass it around, ".($b-1)."$a$c).".\n\n";
based on 8FWj7
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.34
Parse error: syntax error, unexpected '"' in /in/hA9NW on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?for($b=99,$a=' bottles of beer',$c=' on the wall';$b;$b--)echo"$b$a$c, $b$a.\n".($b==1?"Go to the store and buy some more, 99$a$c":"Take one down and pass it around, ".($b-1)."$a$c).".\n\n";