<?php $a = new DomElement('foo'); var_dump($a->ownerDocument); $a = new DOMAttr('foo'); var_dump($a->ownerDocument); $a = new DOMText('foo'); // for DOMCharacterData var_dump($a->ownerDocument); $a = new DOMProcessingInstruction('foo'); var_dump($a->ownerDocument);
You have javascript disabled. You will not be able to edit any code.