3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function compute_prediction($n, $w) { for ($x=0;$x<$w;$x++) { $n=($n*1.07); } echo $n; } ?>
Output for 4.3.0 - 7.1.0