➤ PHP also supports recursive function call. In such case, we call current function within function. It is also known as recursion. For instance:
function display( $number ) {    
    if( $number <= 10 ){    
     echo "$number";    
     display ($number+1 );    
    }
}    
display(0);  
// outputs :  012345678910
by Levani Makhareishvili
2 years ago
PHP
Function
1
Pro tip: use ```triple backticks around text``` to write in code fences