php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/dom/tests/ |
files >> //php-7.1.11/ext/dom/tests/DOMDocumentFragment_appendXML_basic_001.phpt |
--TEST-- DOMDocumentFragment::appendXML() with children with properties. --CREDITS-- Eric Lee Stewart <ericleestewart@gmail.com> # TestFest Atlanta 2009-05-24 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $document = new DOMDocument; $root = $document->createElement('root'); $document->appendChild($root); $fragment = $document->createDocumentFragment(); $fragment->appendXML('<foo id="baz">bar</foo>'); $root->appendChild($fragment); print $document->saveXML(); ?> --EXPECT-- <?xml version="1.0"?> <root><foo id="baz">bar</foo></root>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`