PHP 8.1.28 Released!

XMLWriter::startComment

xmlwriter_start_comment

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

XMLWriter::startComment -- xmlwriter_start_commentCrée un commentaire

Description

Style orienté objet

public XMLWriter::startComment(): bool

Style procédural

xmlwriter_start_comment(XMLWriter $writer): bool

Commence 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().

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