phpday 2027 - Call for Papers

XMLWriter::endComment

xmlwriter_end_comment

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

XMLWriter::endComment -- xmlwriter_end_comment — Create end comment

Descrizione

Stile orientato agli oggetti

public function XMLWriter::endComment(): bool

Stile procedurale

function xmlwriter_end_comment(XMLWriter $writer): bool

Ends the current comment.

Elenco dei parametri

writer

Solo per chiamate procedurali. L'istanza di XMLWriter che viene modificata. Questo oggetto deriva da una chiamata a xmlwriter_open_uri() o xmlwriter_open_memory().

Valori restituiti

Restituisce true in caso di successo o false in caso di fallimento.

Log delle modifiche

Versione Descrizione
8.0.0 writer ora si aspetta un'istanza di XMLWriter; in precedenza, era attesa una resource.

Vedere anche:

+add a note

User Contributed Notes

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