3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x=468; $xx=$x; $a=60; $q=10; $qq=0.01; $s=0; for ($i=$qq;; $i=$i+$i*$a*0.01) { $x-=$i; //echo $i."\n"; if ($x <0) break; $y=$x; $s++; $c=$i; } echo ($c)."///".$s."\\\\\\ \n".($xx-$x).">>>n>>".(-$x)."\nend>>>". ($y); ?>
based on VCoV2
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
120.89258196146///21\\\ 515.79168303558>>>n>>47.791683035575 end>>>145.63644810277