Bug #65565 [Com]: var_dump of DOM objects displays empty objects

From: Date: Wed, 28 Aug 2013 08:13:43 +0000
Subject: Bug #65565 [Com]: var_dump of DOM objects displays empty objects
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181257@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65565&edit=1 ID: 65565 Comment by: Laurent dot Lyaudet at gmail dot com Reported by: Laurent dot Lyaudet at gmail dot com Summary: var_dump of DOM objects displays empty objects Status: Open Type: Bug Package: DOM XML related Operating System: Debian Linux PHP Version: 5.4.19 Block user comment: N Private report: N New Comment: The bug for the reflection part was already reported in bug 48527. Previous Comments: ------------------------------------------------------------------------ [2013-08-27 16:38:42] Laurent dot Lyaudet at gmail dot com Note that the use of Reflection doesn't yield the content either. Some methods are listed but no property is. Example: ReflectionObject::export($oMyDOMObject); ------------------------------------------------------------------------ [2013-08-27 16:16:34] Laurent dot Lyaudet at gmail dot com Description: ------------ Hi, If you var_dump a DOMElement, a DOMNodeList, etc. you have an empty object displayed like that : DOMElement#130 (0) { } Best regards, Laurent Lyaudet ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65565&edit=1

« previous php.bugs (#181257) next »