xref: /PHP-8.0/ext/dom/tests/bug73907.phpt (revision 7aacc705)
1--TEST--
2Bug #73907 nextSibling property not included in var_dump of DOMNode
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7$xmlString = '<?xml version="1.0" encoding="utf-8" ?>
8<root>
9</root>';
10
11$doc = new DOMDocument();
12$doc->loadXML($xmlString);
13$attr = $doc->documentElement;
14
15var_dump($attr);
16?>
17--EXPECTF--
18object(DOMElement)#%d (%d) {%A
19  ["nextSibling"]=>
20  NULL
21%A}
22