DOMNode::hasChildNodes

(PHP 5, PHP 7)

DOMNode::hasChildNodes Checks if node has children

说明

public DOMNode::hasChildNodes ( ) : bool

This function checks if the node has children.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见