View Issue Details

IDProjectCategoryView StatusLast Update
0000913XdebugStep Debuggingpublic2020-03-12 17:36
Reporterhakre Assigned Toderick  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionno change required 
PlatformWin32OSWinXPOS VersionSP3
Product Version2.2.1 
Summary0000913: PHP 5.4.1 / 5.3.11 "Added debug info handler to DOM objects." not supported
Description

When 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 Information

I 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

Relationships

has duplicate 0000910 resolvedderick Exceptions or warnings when debugging DOMAttr objects 

Activities

derick

2013-03-09 22:01

administrator   ~0002439

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
2020-03-12 16:55 derick Severity minor => feature
2020-03-12 17:36 derick Category Feature/Change request => Step Debugging