3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?while($i++<100)echo$i%3?!$$i=$i:Fizz,$i%5?$$i:Buzz,"\n";
Output for 7.2.0 - 7.3.0rc4
Notice: Undefined variable: i in /in/N6t7m on line 1 1 2 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 3 in /in/N6t7m on line 1 4 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 6 in /in/N6t7m on line 1 7 8 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 9 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 11 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 12 in /in/N6t7m on line 1 13 14 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 16 17 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 18 in /in/N6t7m on line 1 19 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 21 in /in/N6t7m on line 1 22 23 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 24 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 26 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 27 in /in/N6t7m on line 1 28 29 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 31 32 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 33 in /in/N6t7m on line 1 34 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 36 in /in/N6t7m on line 1 37 38 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 39 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 41 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 42 in /in/N6t7m on line 1 43 44 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 46 47 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 48 in /in/N6t7m on line 1 49 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 51 in /in/N6t7m on line 1 52 53 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 54 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 56 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 57 in /in/N6t7m on line 1 58 59 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 61 62 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 63 in /in/N6t7m on line 1 64 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 66 in /in/N6t7m on line 1 67 68 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 69 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 71 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 72 in /in/N6t7m on line 1 73 74 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 76 77 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 78 in /in/N6t7m on line 1 79 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 81 in /in/N6t7m on line 1 82 83 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 84 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 86 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 87 in /in/N6t7m on line 1 88 89 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz 91 92 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 93 in /in/N6t7m on line 1 94 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 96 in /in/N6t7m on line 1 97 98 Warning: Use of undefined constant Fizz - assumed 'Fizz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 99 in /in/N6t7m on line 1 Warning: Use of undefined constant Buzz - assumed 'Buzz' (this will throw an Error in a future version of PHP) in /in/N6t7m on line 1 Buzz
Output for 5.4.0 - 7.1.20
Notice: Undefined variable: i in /in/N6t7m on line 1 1 2 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 3 in /in/N6t7m on line 1 4 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 6 in /in/N6t7m on line 1 7 8 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 9 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 11 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 12 in /in/N6t7m on line 1 13 14 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 16 17 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 18 in /in/N6t7m on line 1 19 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 21 in /in/N6t7m on line 1 22 23 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 24 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 26 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 27 in /in/N6t7m on line 1 28 29 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 31 32 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 33 in /in/N6t7m on line 1 34 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 36 in /in/N6t7m on line 1 37 38 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 39 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 41 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 42 in /in/N6t7m on line 1 43 44 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 46 47 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 48 in /in/N6t7m on line 1 49 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 51 in /in/N6t7m on line 1 52 53 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 54 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 56 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 57 in /in/N6t7m on line 1 58 59 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 61 62 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 63 in /in/N6t7m on line 1 64 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 66 in /in/N6t7m on line 1 67 68 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 69 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 71 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 72 in /in/N6t7m on line 1 73 74 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 76 77 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 78 in /in/N6t7m on line 1 79 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 81 in /in/N6t7m on line 1 82 83 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 84 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 86 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 87 in /in/N6t7m on line 1 88 89 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz 91 92 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 93 in /in/N6t7m on line 1 94 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 96 in /in/N6t7m on line 1 97 98 Notice: Use of undefined constant Fizz - assumed 'Fizz' in /in/N6t7m on line 1 Fizz Notice: Undefined variable: 99 in /in/N6t7m on line 1 Notice: Use of undefined constant Buzz - assumed 'Buzz' in /in/N6t7m on line 1 Buzz
Output for 4.3.0 - 5.3.29
<?while($i++<100)echo$i%3?!$$i=$i:Fizz,$i%5?$$i:Buzz,"\n";