3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 100; $i++) { if($i % 4 == 0) echo "You got it! " . $i; }
based on ovZFL
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
You got it! 0You got it! 4You got it! 8You got it! 12You got it! 16You got it! 20You got it! 24You got it! 28You got it! 32You got it! 36You got it! 40You got it! 44You got it! 48You got it! 52You got it! 56You got it! 60You got it! 64You got it! 68You got it! 72You got it! 76You got it! 80You got it! 84You got it! 88You got it! 92You got it! 96