DOMNode::normalize
(PHP 5, PHP 7, PHP 8)
DOMNode::normalize — Normalizes the node
說明
public DOMNode::normalize(): void
Remove empty text nodes and merge adjacent text nodes in this node and all its children.
參數
此函式沒有參數。
返回值
沒有返回值。
參見
- » The DOM Specification
- DOMDocument::normalizeDocument() - Normalizes the document