3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sum = 0; for ($i = 0; $i < 1000; $i++) $sum += $i; echo "$sum\n";
based on FeX7O
Output for 4.3.0 - 7.3.0rc4
499500