(PHP 5, PHP 7, PHP 8)
The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.
$exclusive
= false
,$withComments
= false
,$xpath
= null
,$nsPrefixes
= null
$uri
,$exclusive
= false
,$withComments
= false
,$xpath
= null
,$nsPrefixes
= null
Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.