3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function rec_mod($d=0, $n=25, $l=10) { $k=0; for ($i=$d; $i<$l; $i++) { $k += rec_mod (++$d, ++$n, --$l); } return $k; } echo rec_mod();
based on 91hO9
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
0