DOM XML Functions
PHP Manual

DomNode->last_child

(No version information available, might be only in CVS)

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 Functions
PHP Manual