PHP 8.1.0 RC 4 available for testing

XMLWriter::startDtdEntity

xmlwriter_start_dtd_entity

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

XMLWriter::startDtdEntity -- xmlwriter_start_dtd_entityCreate start DTD Entity

Descrição

Estilo orientado à objeto

public XMLWriter::startDtdEntity(string $name, bool $isParam): bool

Estilo procedural

xmlwriter_start_dtd_entity(XMLWriter $writer, string $name, bool $isParam): bool

Starts a DTD entity.

Parâmetros

xmlwriter

Apenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().

name

The name of the entity.

isParam

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Changelog

Versão Descrição
8.0.0 writer expects an XMLWriter instance now; previously, a resource was expected.

Veja Também

add a note add a note

User Contributed Notes

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