[xdebug-dev] svn: /xdebug/trunk/ tests/assignment-trace2.phpt tests/assignment-trace3.phpt tests/assignment-trace4.phpt tests/bug00340.phpt tests/bug00389.phpt tests/bug00391.phpt tests/bug00476-2.phpt tests/bug00476.phpt tests/bug00565.phpt tests/bug00570.phpt xdebug.c

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Fri, 22 Oct 2010 17:41:12 +0000

derick Fri, 22 Oct 2010 17:41:12 +0000

Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3349&root=xdebug

Log:
- Use lower case setting names so that they work case sensitively
- Modified test cases to be explicit about turning of GET superglobal dumping.

Changed paths:
    U xdebug/trunk/tests/assignment-trace2.phpt
    U xdebug/trunk/tests/assignment-trace3.phpt
    U xdebug/trunk/tests/assignment-trace4.phpt
    U xdebug/trunk/tests/bug00340.phpt
    U xdebug/trunk/tests/bug00389.phpt
    U xdebug/trunk/tests/bug00391.phpt
    U xdebug/trunk/tests/bug00476-2.phpt
    U xdebug/trunk/tests/bug00476.phpt
    U xdebug/trunk/tests/bug00565.phpt
    U xdebug/trunk/tests/bug00570.phpt
    U xdebug/trunk/xdebug.c

Modified: xdebug/trunk/tests/assignment-trace2.phpt
===================================================================
--- xdebug/trunk/tests/assignment-trace2.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/assignment-trace2.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -9,6 +9,7 @@
 xdebug.collect_params=3
 xdebug.collect_returns=0
 xdebug.collect_assignments=1
+xdebug.dump.GET=
 --FILE--
 <?php
 $tf = xdebug_start_trace('/tmp/'. uniqid('xdt', TRUE));

Modified: xdebug/trunk/tests/assignment-trace3.phpt
===================================================================
--- xdebug/trunk/tests/assignment-trace3.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/assignment-trace3.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -9,6 +9,7 @@
 xdebug.collect_params=3
 xdebug.collect_returns=0
 xdebug.collect_assignments=1
+xdebug.dump.GET=
 --FILE--
 <?php
 $tf = xdebug_start_trace('/tmp/'. uniqid('xdt', TRUE));

Modified: xdebug/trunk/tests/assignment-trace4.phpt
===================================================================
--- xdebug/trunk/tests/assignment-trace4.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/assignment-trace4.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -9,6 +9,7 @@
 xdebug.collect_params=3
 xdebug.collect_returns=0
 xdebug.collect_assignments=1
+xdebug.dump.GET=
 --FILE--
 <?php
 $tf = xdebug_start_trace('/tmp/'. uniqid('xdt', TRUE));

Modified: xdebug/trunk/tests/bug00340.phpt
===================================================================
--- xdebug/trunk/tests/bug00340.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00340.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -4,6 +4,7 @@
 xdebug.default_enable=1
 html_errors=1
 xdebug.file_link_format=
+xdebug.dump.GET=
 --FILE--
 <?php
 class MyException extends Exception

Modified: xdebug/trunk/tests/bug00389.phpt
===================================================================
--- xdebug/trunk/tests/bug00389.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00389.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -3,6 +3,7 @@
 --INI--
 log_errors=0
 xdebug.default_enable=1
+xdebug.dump.GET=
 --FILE--
 <?php
 class Food {

Modified: xdebug/trunk/tests/bug00391.phpt
===================================================================
--- xdebug/trunk/tests/bug00391.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00391.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -3,6 +3,8 @@
 --INI--
 log_errors=0
 xdebug.default_enable=1
+xdebug.dump.GET=
+xdebug.collect_params=0
 --FILE--
 <?php


Modified: xdebug/trunk/tests/bug00476-2.phpt
===================================================================
--- xdebug/trunk/tests/bug00476-2.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00476-2.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -4,6 +4,7 @@
 <?php if(version_compare(phpversion(), "5.3.0", '<')) echo "skip PHP 5.3 needed\n"; ?>
 --INI--
 xdebug.default_enable=1
+xdebug.dump.GET=
 --FILE--
 <?php


Modified: xdebug/trunk/tests/bug00476.phpt
===================================================================
--- xdebug/trunk/tests/bug00476.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00476.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -4,6 +4,7 @@
 <?php if(version_compare(phpversion(), "5.3.0", '<')) echo "skip PHP 5.3 needed\n"; ?>
 --INI--
 xdebug.default_enable=1
+xdebug.dump.GET=
 --FILE--
 <?php
 try {

Modified: xdebug/trunk/tests/bug00565.phpt
===================================================================
--- xdebug/trunk/tests/bug00565.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00565.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -4,6 +4,7 @@
 xdebug.default_enable=1
 xdebug.collect_params=1
 xdebug.show_local_vars=1
+xdebug.dump.GET=
 --FILE--
 <?php
 function func(){

Modified: xdebug/trunk/tests/bug00570.phpt
===================================================================
--- xdebug/trunk/tests/bug00570.phpt 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/tests/bug00570.phpt 2010-10-22 17:41:12 UTC (rev 3349)
@@ -2,6 +2,7 @@
 Test for bug #570: undefined symbol: zend_memrchr
 --INI--
 xdebug.default_enable=1
+xdebug.dump.GET=
 --FILE--
 <?php
 function foo() {

Modified: xdebug/trunk/xdebug.c
===================================================================
--- xdebug/trunk/xdebug.c 2010-10-22 17:27:09 UTC (rev 3348)
+++ xdebug/trunk/xdebug.c 2010-10-22 17:41:12 UTC (rev 3349)
@@ -256,14 +256,14 @@
         STD_PHP_INI_BOOLEAN("xdebug.show_mem_delta", "0", PHP_INI_ALL, OnUpdateBool, show_mem_delta, zend_xdebug_globals, xdebug_globals)

         /* Dump superglobals settings */
- PHP_INI_ENTRY("xdebug.dump.COOKIE", NULL, PHP_INI_ALL, OnUpdateCookie)
- PHP_INI_ENTRY("xdebug.dump.ENV", NULL, PHP_INI_ALL, OnUpdateEnv)
- PHP_INI_ENTRY("xdebug.dump.FILES", NULL, PHP_INI_ALL, OnUpdateFiles)
- PHP_INI_ENTRY("xdebug.dump.GET", NULL, PHP_INI_ALL, OnUpdateGet)
- PHP_INI_ENTRY("xdebug.dump.POST", NULL, PHP_INI_ALL, OnUpdatePost)
- PHP_INI_ENTRY("xdebug.dump.REQUEST", NULL, PHP_INI_ALL, OnUpdateRequest)
- PHP_INI_ENTRY("xdebug.dump.SERVER", NULL, PHP_INI_ALL, OnUpdateServer)
- PHP_INI_ENTRY("xdebug.dump.SESSION", NULL, PHP_INI_ALL, OnUpdateSession)
+ PHP_INI_ENTRY("xdebug.dump.cookie", NULL, PHP_INI_ALL, OnUpdateCookie)
+ PHP_INI_ENTRY("xdebug.dump.env", NULL, PHP_INI_ALL, OnUpdateEnv)
+ PHP_INI_ENTRY("xdebug.dump.files", NULL, PHP_INI_ALL, OnUpdateFiles)
+ PHP_INI_ENTRY("xdebug.dump.get", NULL, PHP_INI_ALL, OnUpdateGet)
+ PHP_INI_ENTRY("xdebug.dump.post", NULL, PHP_INI_ALL, OnUpdatePost)
+ PHP_INI_ENTRY("xdebug.dump.request", NULL, PHP_INI_ALL, OnUpdateRequest)
+ PHP_INI_ENTRY("xdebug.dump.server", NULL, PHP_INI_ALL, OnUpdateServer)
+ PHP_INI_ENTRY("xdebug.dump.session", NULL, PHP_INI_ALL, OnUpdateSession)
         STD_PHP_INI_BOOLEAN("xdebug.dump_globals", "1", PHP_INI_ALL, OnUpdateBool, dump_globals, zend_xdebug_globals, xdebug_globals)
         STD_PHP_INI_BOOLEAN("xdebug.dump_once", "1", PHP_INI_ALL, OnUpdateBool, dump_once, zend_xdebug_globals, xdebug_globals)
         STD_PHP_INI_BOOLEAN("xdebug.dump_undefined", "0", PHP_INI_ALL, OnUpdateBool, dump_undefined, zend_xdebug_globals, xdebug_globals)
Received on Fri Oct 22 2010 - 18:41:12 BST

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