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 1Bbhu
Output for 5.3.0 - 7.1.0
Notice: Undefined variable: i in /in/usp8Y on line 1 1 2 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 4 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 7 8 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz 11 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 13 14 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 FizzBuzz 16 17 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 19 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 22 23 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz 26 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 28 29 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 FizzBuzz 31 32 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 34 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 37 38 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz 41 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 43 44 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 FizzBuzz 46 47 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 49 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 52 53 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz 56 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 58 59 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 FizzBuzz 61 62 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 64 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 67 68 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz 71 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 73 74 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 FizzBuzz 76 77 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 79 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 82 83 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz 86 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 88 89 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 FizzBuzz 91 92 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 94 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz 97 98 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/usp8Y on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/usp8Y on line 1 Buzz
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected ':' in /in/usp8Y on line 1
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/usp8Y on line 1
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/usp8Y on line 1
Process exited with code 255.