编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « DOMNode::isDefaultNamespace
  • DOMNode::isSupported »
  • PHP Manual
  • DOMNode
  • Indicates if two nodes are the same node

DOMNode::isSameNode

(PHP 5, PHP 7)

DOMNode::isSameNode — Indicates if two nodes are the same node

说明

public DOMNode::isSameNode ( DOMNode $node ) : bool

This function indicates if two nodes are the same node. The comparison is not based on content

参数

node

The compared node.

返回值

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

相关文章
php domnode canonicalize nodes to a stringphp domnode canonicalize nodes to a filephp domnode clones a nodephp domnode checks if node has attributesphp domnode checks if node has childrenphp domnode indicates if two nodes are the same nodephp domnode gets the namespace prefix of the node based on the namespace uriphp domnode normalizes the nodephp domtext breaks this node into two nodes at the specified offsetphp intltimezone check if this zone has the same rules and offset as another zonephp tidy indicates if the document is a xhtml documentphp tidy indicates if the document is a generic non html/xhtml xml 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号