DomNode::parent_node(PHP 4 >= 4.1.0) DomNode::parent_node — Returns the parent of the node ОписаниеThis function returns the parent node. (PHP >= 4.3 only) If no parent is found, NULL is returned. The following example will show two identical lists of children. Пример #1 Finding the document of a node
<?php |
||