View Issue Details

IDProjectCategoryView StatusLast Update
0000823XdebugUncategorizedpublic2012-05-05 20:25
Reportermgdm Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.2.0RC2 
Target Version2.2.0 
Summary0000823: Single quotes are escaped in var_dumped string output
Description

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.

Steps To Reproduce

<?php
var_dump("'hello world'");

Outputs:

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

I would expect:

string(11) "hello world"

TagsNo tags attached.
Operating SystemMac OS X
PHP Version5.3.8

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-04-30 16:14 mgdm New Issue
2012-04-30 16:29 derick Target Version => 2.2.0
2012-04-30 16:29 derick Steps to Reproduce Updated
2012-05-05 20:25 derick Status new => closed
2012-05-05 20:25 derick Assigned To => derick
2012-05-05 20:25 derick Resolution open => 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)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized