Scholar Repository
Home>Manual>Checks if node has children

Checks if node has children


DOMNode::hasChildNodes

(PHP 5)

DOMNode::hasChildNodesChecks if node has children

Description

bool DOMNode::hasChildNodes ( void )

This function checks if the node has children.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


Home>Manual>Checks if node has children