开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜