From 176f995c245c3cf89a06e9f4e6f88a27a5ce1f08 Mon Sep 17 00:00:00 2001 From: krakjoe Date: Wed, 13 Nov 2013 04:04:41 +0000 Subject: [PATCH] activate globals --- phpdbg.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpdbg.c b/phpdbg.c index a4cb98a451..24c5c1078a 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -439,6 +439,10 @@ int main(int argc, char **argv) /* {{{ */ zend_try { zend_activate_modules(TSRMLS_C); } zend_end_try(); + + zend_try { + zend_activate_auto_globals(TSRMLS_C); + } zend_end_try(); /* print blurb */ phpdbg_notice("Welcome to phpdbg, the interactive PHP debugger, v%s", @@ -446,6 +450,7 @@ int main(int argc, char **argv) /* {{{ */ phpdbg_writeln("To get help using phpdbg type \"help\" and press enter"); phpdbg_notice("Please report bugs to <%s>", PHPDBG_ISSUES); + do { zend_try { phpdbg_interactive(TSRMLS_C); -- 2.40.0