DOMNode::hasChildNodes

(PHP 5, PHP 7, PHP 8)

DOMNode::hasChildNodes Checks if node has children

Description

public DOMNode::hasChildNodes(): bool

This function checks if the node has children.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top