Not sure if this will help you but it appears to be a PHP extension may be causing the issue and not PHP. PHP has no limits on nested function calls. I found this https://stackoverflow.com/questions/8656089/solution-for-fatal-error-maximum-function-nesting-level-of-100-reached-abor