3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php operation(5, 2); function operation($a, $b){ if ($a < $b) { echo 0; } else { echo (operation($a-1, $b) + 1); } }
based on 2tr2V
Output for 4.3.0 - 7.2.0
01111