View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000706 | Xdebug | Uncategorized | public | 2011-08-02 11:50 | 2019-07-11 12:43 |
Reporter | Sander Marechal | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | Squeeze |
Product Version | 2.1.0 | ||||
Summary | 0000706: var_dump not overloaded in CLI when html_errors is off | ||||
Description | When the PHP setting | ||||
Steps To Reproduce | Turn off | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.3.3 | ||||
|
Hi! I know it doesn't overload it for the command line, because it makes no sense to show HTML if HTML can not be rendered (ie, if html_errors is off). In Xdebug 2.2 var_dump is already overloaded on the CLI if you set xdebug.cli_color=1 so all the xdebug.var_displaymax* settings will work (and you get a coloured output!). Let me know if you meant something else. Derick |
|
Why is var_dump overloading dependent on the I do this with Phing for example. I have added a couple of debug flags to my Phing build script that var_dumps various objects. Phing captures these in build properties which are used (or echoed) elsewhere in the build script. I think ideally, var_dump overloading (and usage of the I think that would be much more useful. With all the new heavily object-oriented PHP 5.3 frameworks (like Symfony 2, Doctrine 2, Lithium, etcetera) PHP's regular var_dump is quickly becoming useless because it just dumps in infinite recursion. If fact, I even have XDebug enabled on my production server just so I can use the |
|
Duplicate of 0000457, which is implemented for Xdebug 2.2.0 already. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-02 11:50 | Sander Marechal | New Issue | |
2011-08-02 12:01 | derick | Note Added: 0001768 | |
2011-08-02 12:01 | derick | Status | new => resolved |
2011-08-02 12:01 | derick | Resolution | open => no change required |
2011-08-02 12:01 | derick | Assigned To | => derick |
2011-08-11 05:29 | Sander Marechal | Note Added: 0001774 | |
2011-08-11 05:29 | Sander Marechal | Status | resolved => feedback |
2011-08-11 05:29 | Sander Marechal | Resolution | no change required => reopened |
2014-02-27 19:11 | derick | Note Added: 0002687 | |
2014-02-27 19:11 | derick | Relationship added | duplicate of 0000457 |
2014-02-27 19:11 | derick | Status | feedback => resolved |
2014-02-27 19:11 | derick | Resolution | reopened => fixed |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2019-07-11 12:43 |
|
File Added: 130.pdf | |
2019-07-11 19:33 | derick | File Deleted: 130.pdf | |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |