Increase recommended xdebug.max_nesting_level

Looks like 2000 is not quite enough for some cases...
This commit is contained in:
Nikita Popov 2015-02-13 15:04:00 +01:00
parent 1366e833a1
commit 8f1eacdab7
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
require __DIR__ . '/../lib/bootstrap.php';
ini_set('xdebug.max_nesting_level', 2000);
ini_set('xdebug.max_nesting_level', 3000);
// Disable XDebug var_dump() output truncation
ini_set('xdebug.var_display_max_children', -1);

View File

@ -20,7 +20,7 @@ Additionally you may want to set the `xdebug.max_nesting_level` ini option to a
```php
<?php
ini_set('xdebug.max_nesting_level', 2000);
ini_set('xdebug.max_nesting_level', 3000);
```
This ensures that there will be no errors when traversing highly nested node trees.