Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




<?php
function a() {
    static $i = 0;
    print ++$i . "\n";
    a();
}
a();