Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15410371
D9075.id21552.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
808 B
Referenced Files
None
Subscribers
None
D9075.id21552.diff
View Options
diff --git a/scripts/__init_script__.php b/scripts/__init_script__.php
--- a/scripts/__init_script__.php
+++ b/scripts/__init_script__.php
@@ -37,7 +37,11 @@
// includes (and in other cases, like recursive filesystem operations
// applied to 100+ levels of directory nesting). Stop it from triggering:
// we explicitly limit recursive algorithms which should be limited.
- 'xdebug.max_nesting_level' => null,
+
+ // After Feb 2014, XDebug inteprets a value of 0 to mean "do not allow any
+ // function calls". Previously, 0 effectively disabled this check. For
+ // context, see T5027.
+ 'xdebug.max_nesting_level' => PHP_INT_MAX,
// Don't limit memory, doing so just generally just prevents us from
// processing large inputs without many tangible benefits.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 7:13 AM (2 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706169
Default Alt Text
D9075.id21552.diff (808 B)
Attached To
Mode
D9075: Change xdebug.max_nesting_level config after XDebug changes
Attached
Detach File
Event Timeline
Log In to Comment