3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sum = 0; for($i=0;$i<10000000;$i++){ $sum += $i; } echo $sum;
based on POuWr
Output for 4.3.0 - 4.3.1, 4.3.9, 4.4.7 - 5.0.0, 5.0.2, 5.0.4 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
49999995000000
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 4.3.8, 4.3.10 - 4.4.6, 5.0.1, 5.0.3

Process exited with code 137.