DOMNode::hasChildNodes
(PHP 5, PHP 7)
DOMNode::hasChildNodes — Checks if node has children
说明
public DOMNode::hasChildNodes
( void
) : bool
This function checks if the node has children.
返回值
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
(PHP 5, PHP 7)
DOMNode::hasChildNodes — Checks if node has children
This function checks if the node has children.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。