The DOMComment class
(PHP 5, PHP 7, PHP 8)
Introduction
Represents comment nodes, characters delimited by <!--
and -->
.
Class synopsis
bool
$exclusive
= false
,bool
$withComments
= false
,?array
$xpath
= null
,?array
$nsPrefixes
= null
): string|false
string
$uri
,bool
$exclusive
= false
,bool
$withComments
= false
,?array
$xpath
= null
,?array
$nsPrefixes
= null
): int|false
Table of Contents
- DOMComment::__construct — Creates a new DOMComment object