phpday 2027 - Call for Papers

XMLWriter::startDtd

xmlwriter_start_dtd

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

XMLWriter::startDtd -- xmlwriter_start_dtd — Create start DTD tag

Descrizione

Stile orientato agli oggetti

public function XMLWriter::startDtd(string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool

Stile procedurale

function xmlwriter_start_dtd(
    XMLWriter $writer,
    string $qualifiedName,
    ?string $publicId = null,
    ?string $systemId = null
): bool

Starts a DTD.

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

qualifiedName

The qualified name of the document type to create.

publicId

The external subset public identifier.

systemId

The external subset system identifier.

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:

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top