View Issue Details

IDProjectCategoryView StatusLast Update
0000823XdebugUncategorizedpublic2012-05-05 20:25
Reportermgdm Assigned To 
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.