0

I can found in logs errors like:, Maximum function nesting level of '100' reached, aborting!

The line is:

$keys = explode('.', $keys);

Any idea?

Barmar
  • 741,623
  • 53
  • 500
  • 612
dragu
  • 11
  • 3
  • 1
    Did you search SO? NO! Not even looked to the right under "Related"? – djot Mar 07 '14 at 08:55
  • possible duplicate of [Increasing nesting functions calls limit](http://stackoverflow.com/questions/4293775/increasing-nesting-functions-calls-limit) – krishna Mar 07 '14 at 08:56
  • That line isn't the reason for the error. You probably have unbounded recursion, and it's just by accident that the 100'th level of call is to `explode`. – Barmar Mar 07 '14 at 08:59
  • krishna I didn't want now how to increase this number, but I want know relations between explode and this error. Thanks @Barmar that's all I want to know. Can't vote :( – dragu Mar 07 '14 at 11:42

1 Answers1

0

If you are using xdebug, increase the value of xdebug.max_nesting_level in your php.ini

http://xdebug.org/docs/all_settings#max_nesting_level

Santosh Pradhan
  • 149
  • 1
  • 11
  • 2
    Any time you are going over 100 nested calls, you almost certainly have an error in a recursive algorithm. Increasing the max nesting level is unlikely to fix the underlying issue. – Phylogenesis Mar 07 '14 at 09:04
  • you can see pcre.recursion_limit variable. Check http://www.php.net/manual/en/pcre.configuration.php – Santosh Pradhan Mar 07 '14 at 09:25