Statement on glibc/iconv Vulnerability

XMLWriter::writeComment

xmlwriter_write_comment

(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)

XMLWriter::writeComment -- xmlwriter_write_commentÉcrit un commentaire

Description

Style orienté objet

public XMLWriter::writeComment(string $content): bool

Style procédural

xmlwriter_write_comment(XMLWriter $writer, string $content): bool

Écrit un commentaire.

Liste de paramètres

writer

Uniquement pour les appels procéduraux. L'instance XMLWriter qui est modifiée. Cet objet provient d'un appel à xmlwriter_open_uri() ou xmlwriter_open_memory().

content

Le contenu du commentaire.

Valeurs de retour

Cette fonction retourne true en cas de succès ou false si une erreur survient.

Historique

Version Description
8.0.0 writer attend une instance de XMLWriter désormais; auparavant, une resource était attendu.

Voir aussi

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top