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/DOMComment_construct_basic_001.phpt |
--TEST-- DOMComment::__construct() with constructor called twice. --CREDITS-- Eric Lee Stewart <ericleestewart@gmail.com> # TestFest Atlanta 2009-05-25 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $dom = new DOMDocument('1.0', 'UTF-8'); $element = $dom->appendChild(new DOMElement('root')); $comment = new DOMComment("This is the first comment."); $comment->__construct("This is the second comment."); $comment = $element->appendChild($comment); print $dom->saveXML(); ?> --EXPECT-- <?xml version="1.0" encoding="UTF-8"?> <root><!--This is the second comment.--></root>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`