Query: xmlwriter_start_document
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XMLWRITER_START_DOCUMENT(3) 1 XMLWRITER_START_DOCUMENT(3) XMLWriter::startDocument - Create document tag Object oriented styleSYNOPSISbool XMLWriter::startDocument NULL ([string $version = 1.0], [string $encoding], [string $standalone])DESCRIPTIONProcedural style bool xmlwriter_start_document NULL (resource $xmlwriter, [string $version = 1.0], [string $encoding], [string $standalone]) Starts a document.PARAMETERSo $ xmlwriter -Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xml- writer_open_uri(3) or xmlwriter_open_memory(3). o $version - The version number of the document as part of the XML declaration. o $encoding - The encoding of the document as part of the XML declaration. o $standalone - yes or no.RETURN VALUESReturns TRUE on success or FALSE on failure.SEE ALSOXMLWriter::endDocument. PHP Documentation Group XMLWRITER_START_DOCUMENT(3)