3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php while($i++<100)echo($i%3?'':fizz).($i%5?'':buzz)?:$i;
based on J11kP
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: i in /in/EuqqK on line 3 12 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz4 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz78 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz11 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz1314 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz1617 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz19 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz2223 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz26 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz2829 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz3132 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz34 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz3738 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz41 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz4344 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz4647 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz49 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz5253 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz56 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz5859 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz6162 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz64 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz6768 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz71 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz7374 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz7677 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz79 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz8283 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz86 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz8889 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz9192 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz94 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz9798 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz
Output for hhvm-3.12.0
Notice: Undefined variable: i in /in/EuqqK on line 3 12 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz4 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz78 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz11 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz1314 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 fizzbuzz1617 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz19 Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz2223 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz Notice: Use of undefined constant buzz - assumed 'buzz' in /in/EuqqK on line 3 buzz26 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizz2829 Notice: Use of undefined constant fizz - assumed 'fizz' in /in/EuqqK on line 3 fizzbuzz3132fizz34buzzfizz3738fizzbuzz41fizz4344fizzbuzz4647fizz49buzzfizz5253fizzbuzz56fizz5859fizzbuzz6162fizz64buzzfizz6768fizzbuzz71fizz7374fizzbuzz7677fizz79buzzfizz8283fizzbuzz86fizz8889fizzbuzz9192fizz94buzzfizz9798fizzbuzz
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected ':' in /in/EuqqK on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected ':' in /in/EuqqK on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/EuqqK on line 3
Process exited with code 255.