"increasing nesting function calls limit" Code Answer

4

This error message comes specifically from the XDebug extension. PHP itself does not have a function nesting limit. Change the setting in your php.ini:

xdebug.max_nesting_level = 200

or in your PHP code:

ini_set('xdebug.max_nesting_level', 200);

As for if you really need to change it (i.e.: if there's a alternative solution to a recursive function), I can't tell without the code.

By rvictordelta on November 2 2022

Answers related to “increasing nesting function calls limit”

Only authorized users can answer the search term. Please sign in first, or register a free account.