Indicates what kind of comment produced the comment node. Because there are different kinds of HTML syntax which produce comments, the Tag Processor tracks and exposes this as a type for the comment. Nominally only regular HTML comments exist as they are commonly known, but a number of unrelated syntax errors also produce comments.
N/A
Sortie :
@return string|null
// Utilisation de la fonction get_comment_type
$result = get_comment_type();
if ($result) {
// Votre logique ici
}
Chargement des actualités...