View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000784||Xdebug||Documentation||public||2012-02-29 18:44||2012-04-22 13:48|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||2.2.0||Fixed in Version||2.2.0RC2|
|Summary||0000784: Unlimited feature for var_display_max_data and var_display_max_depth is undocumented|
|Description||I found from your update page (http://xdebug.org/updates.php)|
"Allow xdebug.var_display_max_data and xdebug.var_display_max_depth settings of -1 which will unlimit those settings."
Which is cleaner than use a high value like 999.
However, for these two settings, you did not document it in your all_setting page:
You should update documentation.
On a related note and that should be directed to the person who take care of the software design:
Semantically "-1" is also not obvious, unless you know it. I know developers sometime use -1 or 0 as unlimited (to keep the same data type for their setting), it can be OK, but I often try to be "right" on the value I choose. The real answer is that there is no maximum. We can therefore use a value like null to express there is no maximum (or we can think and create/support a constant/alias value for settings like */undefined/unlimited/none/null/etc.). If you choose to go that route and want feedback, I will be glad to put my 2 cents about what I think is the right value/name/etc.
|Tags||No tags attached.|
|2012-02-29 18:44||mickoz||New Issue|
|2012-03-12 16:25||derick||Target Version||=> 2.2.0|
|2012-03-24 17:04||derick||Note Added: 0002008|
|2012-03-24 17:04||derick||Status||new => closed|
|2012-03-24 17:04||derick||Assigned To||=> derick|
|2012-03-24 17:04||derick||Resolution||open => fixed|
|2012-04-22 13:48||derick||Fixed in Version||=> 2.2.0RC2|