DOMNode::normalize
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Normalizes the node
Description
DOMNode::normalize(): void
Remove empty text nodes and merge adjacent text nodes in this node and all its children.
Parameters Parameters
Return Values
Void
See Also
- The DOM Specification
DOMDocument::normalizeDocument