summaryrefslogtreecommitdiff
path: root/ext/dom/tests/bug73907.phpt
blob: 597736665d435766fede950e206ce0f2fbf69e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Bug #73907 nextSibling property not included in var_dump of DOMNode
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$xmlString = '<?xml version="1.0" encoding="utf-8" ?>
<root>
</root>';

$doc = new DOMDocument();
$doc->loadXML($xmlString);
$attr = $doc->documentElement;

var_dump($attr);
--EXPECTF--
object(DOMElement)#%d (%d) {%A
  ["nextSibling"]=>
  NULL
%A}