您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

DOMNode->hasChildNodes()

(No version information available, might be only in CVS)

DOMNode->hasChildNodes() — Checks if node has children

说明

DOMNode
bool hasChildNodes ( void )

This function checks if the node has children.

返回值

如果成功则返回 TRUE,失败则返回 FALSE