MantisBT - Xdebug
View Issue Details
0000823XdebugUsage problems (Wrong Results)public2012-04-30 17:142012-05-05 21:25
mgdm 
derick 
normalminoralways
closedfixed 
2.2.0RC2 
2.2.0 
Mac OS X
5.3.8
0000823: Single quotes are escaped in var_dumped string output
When var_dumping strings in the CLI when Xdebug is enabled and overriding the var_dump handlers, single quotes in strings are escaped with backslashes. This does not happen with the normal var_dump handler. It happens whether or not colour is enabled.
<?php
var_dump("'hello world'");

Outputs:

string(13) "\'hello world\'"

I would expect:

string(11) "hello world"
No tags attached.
Issue History
2012-04-30 17:14mgdmNew Issue
2012-04-30 17:29derickTarget Version => 2.2.0
2012-04-30 17:29derickSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=64#r64
2012-05-05 21:25derickStatusnew => closed
2012-05-05 21:25derickAssigned To => derick
2012-05-05 21:25derickResolutionopen => fixed
2016-07-31 13:36derickCategoryUsage problems => Usage problems (Crashes)
2016-07-31 13:38derickCategoryUsage problems (Crashes) => Usage problems (Wrong Results)

There are no notes attached to this issue.