3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function f($a) { $b = 0; if ($a > 0) { $b = f($a-1); } return $b; } echo f(1);
Output for 4.3.0 - 7.1.0
0