Files
developer-roadmap/roadmaps/php/content/recursion@D9ybK5INH5zSOcYMb5ZPi.md

431 B

Recursion

Recursion is a technique where a function calls itself to solve a smaller version of the same problem. Each recursive call must move toward a base case that stops the recursion. PHP supports recursion but does not optimize tail calls, so deep recursion can exhaust the call stack.

Visit the following resources to learn more: