From: Bob Weinand Date: Tue, 20 Dec 2016 18:48:59 +0000 (+0100) Subject: Fix segfault in ZTS mode when just printing and exiting in phpdbg X-Git-Tag: php-7.1.1RC1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3273f154120696c8054f61e8371a0c0af067fb36;p=php Fix segfault in ZTS mode when just printing and exiting in phpdbg --- 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) /* {{{ */ {