1--TEST-- 2Dom\XMLDocument debug 3--EXTENSIONS-- 4dom 5--FILE-- 6<?php 7 8$dom = Dom\XMLDocument::createEmpty(); 9var_dump($dom); 10 11?> 12--EXPECT-- 13object(Dom\XMLDocument)#1 (32) { 14 ["xmlEncoding"]=> 15 string(5) "UTF-8" 16 ["xmlStandalone"]=> 17 bool(false) 18 ["xmlVersion"]=> 19 string(3) "1.0" 20 ["formatOutput"]=> 21 bool(false) 22 ["implementation"]=> 23 string(22) "(object value omitted)" 24 ["URL"]=> 25 string(11) "about:blank" 26 ["documentURI"]=> 27 string(11) "about:blank" 28 ["characterSet"]=> 29 string(5) "UTF-8" 30 ["charset"]=> 31 string(5) "UTF-8" 32 ["inputEncoding"]=> 33 string(5) "UTF-8" 34 ["doctype"]=> 35 NULL 36 ["documentElement"]=> 37 NULL 38 ["firstElementChild"]=> 39 NULL 40 ["lastElementChild"]=> 41 NULL 42 ["childElementCount"]=> 43 int(0) 44 ["body"]=> 45 NULL 46 ["head"]=> 47 NULL 48 ["title"]=> 49 string(0) "" 50 ["nodeType"]=> 51 int(9) 52 ["nodeName"]=> 53 string(9) "#document" 54 ["baseURI"]=> 55 string(11) "about:blank" 56 ["isConnected"]=> 57 bool(true) 58 ["ownerDocument"]=> 59 NULL 60 ["parentNode"]=> 61 NULL 62 ["parentElement"]=> 63 NULL 64 ["childNodes"]=> 65 string(22) "(object value omitted)" 66 ["firstChild"]=> 67 NULL 68 ["lastChild"]=> 69 NULL 70 ["previousSibling"]=> 71 NULL 72 ["nextSibling"]=> 73 NULL 74 ["nodeValue"]=> 75 NULL 76 ["textContent"]=> 77 NULL 78} 79