3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 1000; $i++) { if($i % 33 == 0) echo "You got it! " . $i . PHP_EOL; }
based on nMJfC
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
You got it! 0 You got it! 33 You got it! 66 You got it! 99 You got it! 132 You got it! 165 You got it! 198 You got it! 231 You got it! 264 You got it! 297 You got it! 330 You got it! 363 You got it! 396 You got it! 429 You got it! 462 You got it! 495 You got it! 528 You got it! 561 You got it! 594 You got it! 627 You got it! 660 You got it! 693 You got it! 726 You got it! 759 You got it! 792 You got it! 825 You got it! 858 You got it! 891 You got it! 924 You got it! 957 You got it! 990
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 0PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 33PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 66PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 99PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 132PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 165PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 198PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 231PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 264PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 297PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 330PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 363PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 396PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 429PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 462PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 495PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 528PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 561PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 594PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 627PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 660PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 693PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 726PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 759PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 792PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 825PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 858PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 891PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 924PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 957PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GAuZR on line 6 You got it! 990PHP_EOL