source: src/router/php7/ext/dom/tests/bug73907.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 387 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.