Page MenuHomePhabricator

D9075.id21563.diff
No OneTemporary

D9075.id21563.diff

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

Mime Type
text/plain
Expires
Thu, Mar 20, 2:28 PM (1 d, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706169
Default Alt Text
D9075.id21563.diff (808 B)

Event Timeline