[xdebug-dev] xdebug xdebug/xdebug_handler_dbgp.c - Fixed bug #277: The SESSION super global does not show up in the Globals

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 11 Dec 2006 22:36:21 +0100

Date: Mon Dec 11 22:36:21 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed bug #277: The SESSION super global does not show up in the Globals
  scope.

Modified files:
           xdebug/xdebug_handler_dbgp.c (version: 1.109)

[FILE: /xdebug/xdebug_handler_dbgp.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- xdebug/xdebug_handler_dbgp.c:1.108 Wed Dec 06 23:21:26 2006 GMT
+++ xdebug/xdebug_handler_dbgp.c Mon Dec 11 20:36:21 2006 GMT
@@ -1775,6 +1775,7 @@
                 add_variable_node(node, "_REQUEST", sizeof("_REQUEST"), 1, 1, 0, options TSRMLS_CC);
                 add_variable_node(node, "_FILES", sizeof("_FILES"), 1, 1, 0, options TSRMLS_CC);
                 add_variable_node(node, "_SERVER", sizeof("_SERVER"), 1, 1, 0, options TSRMLS_CC);
+ add_variable_node(node, "_SESSION", sizeof("_SESSION"), 1, 1, 0, options TSRMLS_CC);
                 XG(active_symbol_table) = NULL;
                 return 0;
         }
@@ -2121,7 +2122,7 @@
 
 char *xdebug_dbgp_get_revision(void)
 {
- return "$Revision: 1.108 $";
+ return "$Revision: 1.109 $";
 }
 
 int xdebug_dbgp_cmdloop(xdebug_con *context TSRMLS_DC)
@@ -2246,6 +2247,7 @@
         zend_is_auto_global("_REQUEST", sizeof("_REQUEST")-1 TSRMLS_CC);
         zend_is_auto_global("_FILES", sizeof("_FILES")-1 TSRMLS_CC);
         zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC);
+ zend_is_auto_global("_SESSION", sizeof("_SESSION")-1 TSRMLS_CC);
 #endif
 /* }}} */
 
Received on Mon Dec 11 2006 - 22:36:26 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST