Home >Backend Development >PHP Tutorial >How to use the return value of php recursive function
The above code seems to have no problem, but in fact there is a problem in else. The test executed here has no return value, although the condition $i is met The following method uses PHP recursive functions and returns values. Pay attention to the difference between the comments in the code and the above code:
|