Mimic PHP *RECURSION*