View Issue Details

IDProjectCategoryView StatusLast Update
0000538XdebugUncategorizedpublic2010-03-20 21:16
Reporterdegoo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.0.0dev 
Summary0000538: Error in watches and call stack parameter with string containing '\'
Description

When a string contain a double slash (\), in watches double slash is replaced by a slash, but if a string really contains a double slash, using property_get -n always replace double slash with a single one.

When xdebug_get_function_stack() is used, if some parameters contains double slash , the values are not replaced with single slash.

Additional Information

<?php
function call($param1, $param2, $param3)
{
echo $param1;
echo $param2;
echo $param3;
}

$test=getcwd();
call($test,'cadena\\',3);

?>

$test as watch value contains 'c:\document and settings...\'
as parameter in call stack 'c:\document as settings...\'
$param2 contains 'cadena\' value as watch
$param2 contains 'cadena\' value as shown in call stack parameters.

TagsNo tags attached.
Operating SystemWindows XP SP3
PHP Version5.2.9

Activities

derick

2010-03-20 21:16

administrator   ~0001393

There is no bug here. Through DBGP with "property_get" you get to see the real value, unescaped. In function traces, and the output of xdebug_get_function_stack() they are escaped so that things like new lines can be properly shown.