mirror of
https://github.com/danog/PHP-Parser.git
synced 2025-01-20 12:46:47 +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';
|
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
|
// Disable XDebug var_dump() output truncation
|
||||||
ini_set('xdebug.var_display_max_children', -1);
|
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
|
||||||
<?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.
|
This ensures that there will be no errors when traversing highly nested node trees.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user