Xdebug protects, level can be set with:

xdebug.max_nesting_level=4



Fatal error: Maximum function nesting level of '4' reached, aborting! in /home/httpd/html/test/xdebug/infinite.php on line 11.