DOM XML (PHP 4) Functions
PHP Manual

DomNode::last_child

(PHP 4 >= 4.1.0)

DomNode::last_child Returns last child of node

Description

domelement DomNode::last_child ( void )

Returns the last child of the node.

(PHP >= 4.3 only) If no last child is found, NULL is returned.

See also domnode_first_child(), and domnode_next_sibling(), domnode_previous_sibling().


DOM XML (PHP 4) Functions
PHP Manual