(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::startDocument -- xmlwriter_start_document — Create document tag
锟斤拷锟斤拷锟斤拷锟斤拷锟�
$version
= 1.0
[, string $encoding
= NULL
[, string $standalone
]]] ) : bool锟斤拷锟教伙拷锟斤拷锟�
$xmlwriter
[, string $version
= 1.0
[, string $encoding
= NULL
[, string $standalone
]]] ) : boolStarts a document.
xmlwriter
锟斤拷锟斤拷锟节癸拷锟教碉拷锟矫★拷锟斤拷锟睫改碉拷 XMLWriter resource锟斤拷锟斤拷锟斤拷源锟斤拷锟斤拷锟节讹拷 xmlwriter_open_uri() 锟斤拷 xmlwriter_open_memory() 锟侥碉拷锟矫★拷
version
The version number of the document as part of the XML declaration.
encoding
The encoding of the document as part of the XML declaration.
standalone
yes or no.
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷