Statement on glibc/iconv Vulnerability

XMLWriter::startDtd

xmlwriter_start_dtd

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

XMLWriter::startDtd -- xmlwriter_start_dtdCrée une DTD

Description

Style orienté objet

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

Style procédural

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

Commence une DTD.

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

qualifiedName

Le nom qualifié du type de document à créer.

publicId

L'identifiant publique externe.

systemId

L'identifiant système externe.

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