[xdebug-dev] xdebug xdebug/xdebug.c - xdebug.collect_params is no longer a boolean setting. Although it worked fine,

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sat, 26 May 2007 21:54:06 +0200

Date: Sat May 26 21:54:05 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- xdebug.collect_params is no longer a boolean setting. Although it worked fine,
  phpinfo() showed only just On or Off here.

Modified files:
           xdebug/xdebug.c (version: 1.387)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -r1.386 -r1.387
--- xdebug/xdebug.c:1.386 Tue May 22 18:33:27 2007 GMT
+++ xdebug/xdebug.c Sat May 26 17:54:05 2007 GMT
@@ -259,7 +259,11 @@
         STD_PHP_INI_ENTRY("xdebug.trace_options", "0", PHP_INI_ALL, OnUpdateLong, trace_options, zend_xdebug_globals, xdebug_globals)
 #endif
         STD_PHP_INI_BOOLEAN("xdebug.collect_includes","1", PHP_INI_ALL, OnUpdateBool, collect_includes, zend_xdebug_globals, xdebug_globals)
- STD_PHP_INI_BOOLEAN("xdebug.collect_params", "0", PHP_INI_ALL, OnUpdateBool, collect_params, zend_xdebug_globals, xdebug_globals)
+#if ZEND_EXTENSION_API_NO < 90000000
+ STD_PHP_INI_ENTRY("xdebug.collect_params", "0", PHP_INI_ALL, OnUpdateInt, collect_params, zend_xdebug_globals, xdebug_globals)
+#else
+ STD_PHP_INI_ENTRY("xdebug.collect_params", "0", PHP_INI_ALL, OnUpdateLong, collect_params, zend_xdebug_globals, xdebug_globals)
+#endif
         STD_PHP_INI_BOOLEAN("xdebug.collect_return", "0", PHP_INI_ALL, OnUpdateBool, collect_return, zend_xdebug_globals, xdebug_globals)
         STD_PHP_INI_BOOLEAN("xdebug.collect_vars", "0", PHP_INI_ALL, OnUpdateBool, collect_vars, zend_xdebug_globals, xdebug_globals)
         STD_PHP_INI_BOOLEAN("xdebug.extended_info", "1", PHP_INI_SYSTEM, OnUpdateBool, extended_info, zend_xdebug_globals, xdebug_globals)
Received on Sat May 26 2007 - 21:54:13 BST

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