3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function FUNTIK($key){ if ($key<5){ echo "0: $key\n"; $key++; FUNTIK($key); } } for ($i=0; $i<3;$i++){ FUNTIK($i); } ?>
based on spY29
Output for 4.3.0 - 7.1.0
0: 0 0: 1 0: 2 0: 3 0: 4 0: 1 0: 2 0: 3 0: 4 0: 2 0: 3 0: 4