Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000913XdebugFeature/Change requestpublic2013-01-05 21:222013-03-09 22:01
Reporterhakre 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformWin32OSWinXPOS VersionSP3
Product Version2.2.1 
Target VersionFixed in Version 
Summary0000913: PHP 5.4.1 / 5.3.11 "Added debug info handler to DOM objects." not supported
DescriptionWhen I have xdebug enabled, the feature of var_dump for DOMNodes debug information is not available any longer.

I have no clue, this might be exclusive, but it would be good to not loose it when xdebug is enabled, because normally both features are good for development / debugging.
Steps To Reproduce
&let;?php
$DOMDocumentNode = new DOMDocument();
$DOMDocumentNode->loadXML('<example a="b">Test</example>');
$DOMElementNode   = $DOMDocumentNode->documentElement;
$DOMAttributeNode = $DOMElementNode->getAttributeNode('a');
$DOMTextNode      = $DOMElementNode->firstChild;

var_dump($DOMDocumentNode, $DOMElementNode, $DOMAttributeNode, $DOMTextNode);
Additional InformationI first reported this wrongly in the PHP bugtracker until I found out that acutally xdebug was causing this.

https://bugs.php.net/bug.php?id=63910 [^]
TagsNo tags attached.
Operating SystemWinXPSP3
PHP Version5.4.10-5.4.14
Attached Files

- Relationships
has duplicate 0000910resolvedderick Exceptions or warnings when debugging DOMAttr objects 

-  Notes
(0002439)
derick (administrator)
2013-03-09 22:01

Duplicated with 910, which works just fine for me. I've committed a test case.

- Issue History
Date Modified Username Field Change
2013-01-05 21:22 hakre New Issue
2013-03-09 21:59 derick Relationship added has duplicate 0000910
2013-03-09 22:01 derick Note Added: 0002439
2013-03-09 22:01 derick Status new => resolved
2013-03-09 22:01 derick Resolution open => no change required
2013-03-09 22:01 derick Assigned To => derick


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker