(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::setIndentString -- xmlwriter_set_indent_string — Set string used for indenting
锟斤拷锟斤拷锟斤拷锟斤拷锟�
$indentString
) : bool锟斤拷锟教伙拷锟斤拷锟�
$xmlwriter
, string $indentString
) : boolSets the string which will be used to indent each element/attribute of the resulting xml.
xmlwriter
锟斤拷锟斤拷锟节癸拷锟教碉拷锟矫★拷锟斤拷锟睫改碉拷 XMLWriter resource锟斤拷锟斤拷锟斤拷源锟斤拷锟斤拷锟节讹拷 xmlwriter_open_uri() 锟斤拷 xmlwriter_open_memory() 锟侥碉拷锟矫★拷
indentString
The indentation string.
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷