(PHP 5, PHP 7)
DOMNode::hasChildNodes — Checks if node has children
This function checks if the node has children.
成功时返回 true, 或者在失败时返回 false。
true
false