DomNode->first_child

(no version information, might be only in CVS)

DomNode->first_child --  Returns first child of node

Description

bool DomNode->first_child ( void)

Returns the first child of the node.

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

See also DomNode_last_child(), DomNode_next_sibling(), DomNode_previous_sibling().