(PHP 5, PHP 7)
The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.
$exclusive
= ?
, bool $with_comments
= ?
, array $xpath
= ?
, array $ns_prefixes
= ?
) : string|false$uri
, bool $exclusive
= false
, bool $with_comments
= false
, array $xpath
= ?
, array $ns_prefixes
= ?
) : int|falseHolds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.