MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000823XdebugUsage problems (Wrong Results)public2012-04-30 17:142012-05-05 21:25
Reportermgdm 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.2.0RC2 
Target Version2.2.0Fixed in Version 
Summary0000823: Single quotes are escaped in var_dumped string output
DescriptionWhen 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
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-04-30 17:14 mgdm New Issue
2012-04-30 17:29 derick Target Version => 2.2.0
2012-04-30 17:29 derick Steps to Reproduce Updated View Revisions
2012-05-05 21:25 derick Status new => closed
2012-05-05 21:25 derick Assigned To => derick
2012-05-05 21:25 derick Resolution open => fixed
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker