1--TEST-- 2Freeing of a predefined DOMEntityReference 3--EXTENSIONS-- 4dom 5--FILE-- 6<?php 7$ref = new DOMEntityReference("amp"); 8var_dump($ref); 9?> 10--EXPECTF-- 11object(DOMEntityReference)#1 (17) { 12 ["nodeName"]=> 13 string(3) "amp" 14 ["nodeValue"]=> 15 NULL 16 ["nodeType"]=> 17 int(5) 18 ["parentNode"]=> 19 NULL 20 ["parentElement"]=> 21 NULL 22 ["childNodes"]=> 23 string(22) "(object value omitted)" 24 ["firstChild"]=> 25 string(22) "(object value omitted)" 26 ["lastChild"]=> 27 string(22) "(object value omitted)" 28 ["previousSibling"]=> 29 NULL 30 ["nextSibling"]=> 31 NULL 32 ["attributes"]=> 33 NULL 34 ["isConnected"]=> 35 bool(false) 36 ["namespaceURI"]=> 37 NULL 38 ["prefix"]=> 39 string(0) "" 40 ["localName"]=> 41 NULL 42 ["baseURI"]=> 43 NULL 44 ["textContent"]=> 45 string(%d) "%S" 46} 47