View Issue Details

IDProjectCategoryView StatusLast Update
0000031XdebugUncategorizedpublic2003-11-20 15:39
ReporterDavey Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Summary0000031: & entity replaced after others, wrong HTML output
Description

It appears that xdebug replaces the & character after replacing all other entities, this means that the & in the entities (for example <) is being replaced and you end up with &lt; being output.

Additional Information

Reproduce with:
<?php
$object = new stdClass();
$object->foo = 1;
$object->bar = '<some><xml><tags>&enties</tags></xml></some>';
$object->baz = 'plain text';
$object->bat = TRUE;
$object->qux = 1.8;
$object->quux = array('quuux');
var_dump($object);
echo "<hr />";
show_source(FILE);
?>

TagsNo tags attached.
Operating SystemWinXP Pro w/SP1
PHP Version4.3.3

Activities

derick

2003-11-20 15:39

administrator   ~0000063

Fixed in CVS.

derick

2003-11-20 15:39

administrator   ~0000064

Yeah, let's close it too. :)