3v4l.org

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