3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=1;$i<=100;$i++) { if(!$i%3) { echo 'Fizz'; } if(!$i%5) { echo 'Buzz'; } if($i%3||$i%5) { echo $i; } echo PHP_EOL; }
based on n3tOl
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.2.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 99 100
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL10 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL11 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL13 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL14 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL16 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL17 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL18 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL20 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL21 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL22 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL23 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL24 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL25 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL26 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL27 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL28 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL31 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL32 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL33 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL34 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL35 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL36 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL37 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL38 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL39 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL40 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL41 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL42 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL43 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL44 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL46 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL47 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL48 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL49 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL50 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL51 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL52 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL53 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL54 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL55 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL56 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL57 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL58 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL59 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL61 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL62 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL63 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL64 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL65 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL66 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL67 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL68 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL69 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL70 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL71 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL72 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL73 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL74 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL76 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL77 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL78 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL79 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL80 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL81 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL82 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL83 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL84 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL85 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL86 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL87 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL88 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL89 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL91 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL92 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL93 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL94 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL95 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL96 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL97 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL98 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL99 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL100 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/5hkDb on line 15 PHP_EOL