com php-src: activate globals: phpdbg.c
| From: | Bob Weinand | Date: | Wed, 13 Nov 2013 04:04:41 +0000 |
| Subject: | com php-src: activate globals: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75030@lists.php.net to get a copy of this message | ||
Commit: 176f995c245c3cf89a06e9f4e6f88a27a5ce1f08
Author: krakjoe <joe.watkins@live.co.uk> Wed, 13 Nov 2013 04:04:41 +0000
Parents: 60a8d908ce0735ec3973ec3d62aafbfeab52e8f2
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=176f995c245c3cf89a06e9f4e6f88a27a5ce1f08
Log:
activate globals
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index a4cb98a..24c5c10 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);