summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-12-20 19:48:59 +0100
committerBob Weinand <bobwei9@hotmail.com>2016-12-20 19:49:04 +0100
commit3273f154120696c8054f61e8371a0c0af067fb36 (patch)
tree8f85f01a68709ba4c645c3895b550a0b47eacb2c
parent43cc3d7d9297328f6b63165a66d0a2d2e485023c (diff)
downloadphp-git-3273f154120696c8054f61e8371a0c0af067fb36.tar.gz
Fix segfault in ZTS mode when just printing and exiting in phpdbg
-rw-r--r--sapi/phpdbg/phpdbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 588294c227..4669c5d7e6 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -72,7 +72,7 @@ PHP_INI_END()
static zend_bool phpdbg_booted = 0;
static zend_bool phpdbg_fully_started = 0;
-zend_bool use_mm_wrappers = 0;
+zend_bool use_mm_wrappers = 1;
static void php_phpdbg_destroy_bp_file(zval *brake) /* {{{ */
{