]> granicus.if.org Git - php/commitdiff
activate globals
authorkrakjoe <joe.watkins@live.co.uk>
Wed, 13 Nov 2013 04:04:41 +0000 (04:04 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Wed, 13 Nov 2013 04:04:41 +0000 (04:04 +0000)
phpdbg.c

index a4cb98a4516f1f2f1e291f3d6d77edd0ded32918..24c5c1078a182510b1135513b70ad987a79ab6a1 100644 (file)
--- 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);