开发者

what does the 'addDecl' option do in pear - XML_Serialize

开发者 https://www.devze.com 2022-12-24 18:26 出处:网络
I am looking at the examples given at the XML_Serialize pear plugin manual. I can\'t figure out what the option \'addDecl\' does in this plugin.

I am looking at the examples given at the XML_Serialize pear plugin manual.

I can't figure out what the option 'addDecl' does in this plugin.

What does this开发者_开发问答 do?

I can't seem to find it in their documentation...


At a (confident) guess, it'll be the XML Declaration at the start of the document

i.e.

<?xml version="1.0" encoding="UTF-8"?>


Reading the source that's exactly what it does - I've raised this as a bug in their documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消