DOM
PHP Manual

DOMNode->hasChildNodes()

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

DOMNode->hasChildNodes() — Checks if node has children

Description

DOMNode
bool hasChildNodes ( void )

This function checks if the node has children.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


DOM
PHP Manual