xref: /PHP-7.4/ext/dom/tests/bug73907.phpt (revision d679f022)
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--EXPECTF--
17object(DOMElement)#%d (%d) {%A
18  ["nextSibling"]=>
19  NULL
20%A}
21