(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::startDocument -- xmlwriter_start_document — Create document tag
Estilo orientado à objeto
$version = 1.0
[, string $encoding = NULL
[, string $standalone
]]] ) : boolEstilo procedural
$xmlwriter
[, string $version = 1.0
[, string $encoding = NULL
[, string $standalone
]]] ) : boolStarts a document.
xmlwriterApenas 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().
versionThe version number of the document as part of the XML declaration.
encodingThe encoding of the document as part of the XML declaration.
standaloneyes or no.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.