From 3273f154120696c8054f61e8371a0c0af067fb36 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Tue, 20 Dec 2016 19:48:59 +0100 Subject: [PATCH] Fix segfault in ZTS mode when just printing and exiting in phpdbg --- sapi/phpdbg/phpdbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 588294c2273..4669c5d7e69 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) /* {{{ */ {