function display( $number ) { if( $number <= 10 ){ echo "$number"; display ($number+1 ); } } display(0); // outputs : 012345678910
Pro tip: use ```triple backticks around text``` to write in code fences