编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « DOMNode::hasAttributes
  • DOMNode::insertBefore »
  • PHP Manual
  • DOMNode
  • Checks if node has children

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。

参见

  • DOMNode::hasAttributes() - Checks if node has attributes

相关文章
php domnode checks if node has attributesphp domnode checks if node has childrenphp domnode checks if the specified namespaceuri is the default namespace or notphp domnode indicates if two nodes are the same nodephp domnode checks if feature is supported for specified versionphp domnode normalizes the nodephp imagick checks if the object has more imagesphp iteratoriterator checks if the iterator is validphp mongocursor checks if there are results that have not yet been sent from the databasephp reflectiontype checks if null is allowedphp reflectiontype checks if it is a built in typephp solrdocument checks if a field exists in the documentphp tidynode checks if a node has childrenphp tidynode checks if a node has siblingsphp tidynode checks if this node is aspphp tidynode checks if a node represents a commentphp tidynode checks if a node is part of a html documentphp tidynode checks if this node is jstephp tidynode checks if a node is phpphp tidynode checks if a node represents text no markup
关注编程学问公众号
编程学问网 湘ICP备20001732号