mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 15:18:17 +01:00
Increase recommended xdebug.max_nesting_level
Looks like 2000 is not quite enough for some cases...
This commit is contained in:
parent
1366e833a1
commit
8f1eacdab7
@ -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);
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user