XMLWriter::startDocument

xmlwriter_start_document

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

XMLWriter::startDocument -- xmlwriter_start_documentCreate document tag

说锟斤拷

锟斤拷锟斤拷锟斤拷锟斤拷锟�

XMLWriter::startDocument ([ string $version = 1.0 [, string $encoding = NULL [, string $standalone ]]] ) : bool

锟斤拷锟教伙拷锟斤拷锟�

xmlwriter_start_document ( resource $xmlwriter [, string $version = 1.0 [, string $encoding = NULL [, string $standalone ]]] ) : bool

Starts 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锟斤拷

锟轿硷拷