|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
|
Thank you for your help!
If the status of the bug report you submitted changes, you will be notified.
You may return here and check the status or update your report at any time. The URL for your bug report is: https://bugs.php.net/bug.php?id=65565.
[2013-08-27 16:16 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 12:00:01 2025 UTC |
Hi, I did a second test today with Debian Wheezy updated-upgraded. It didn't work : ----------------------------------------------------------------- root@wheezyDEVLaurent:~# php --version PHP 5.4.4-14+deb7u9 (cli) (built: Apr 18 2014 14:34:31) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans root@wheezyDEVLaurent:~# php <?php $oDOMElement = new DOMElement('balise'); var_dump($oDOMElement); ?> class DOMElement#1 (0) { } root@wheezyDEVLaurent:~# ----------------------------------------------------------------- I also tested it on Ubuntu Trusty with PHP 5.5.9 and it worked. I don't know why it doesn't work in Debian. Maybe the commit did not make it to the stable version of Debian. Since it seems to work in later versions, feel free to close the bug. I'll continue to use work-arounds with Wheezy. Best regards, Laurent Lyaudet