From: krakjoe Date: Wed, 13 Nov 2013 04:04:41 +0000 (+0000) Subject: activate globals X-Git-Tag: php-5.6.0alpha1~110^2~394 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=176f995c245c3cf89a06e9f4e6f88a27a5ce1f08;p=php activate globals --- 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);