DOM XML
PHP Manual

DomNode->has_child_nodes

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

DomNode->has_child_nodes — Checks if node has children

Description

bool DomNode->has_child_nodes ( void )

This function checks if the node has children.

See also domnode_child_nodes().


DOM XML
PHP Manual