3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0, $sum = 0; $i < 50; $i++) { $sum += $i; } echo $sum; echo array_sum(range(1, 50));
Output for 4.3.0 - 7.2.6
12251275