Recursion occurs when a function calls itself. There’s nearly always an end condition of some sort — known as the base case — otherwise, the function would continue to call itself indefinitely
*** Accepting unlimited argument in a function is a new feature of PHP 7
***Fix the return type of a function in order to avoid errors.
#Main PHP File #Functions PHP File ***Important Notes: You cannot write the code like this If you give a default value to one parameter, you have to do it for the other