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/xmlreader/tests/ |
files >> //php-7.1.11/ext/xmlreader/tests/001.phpt |
--TEST-- XMLReader: libxml2 XML Reader, string data --SKIPIF-- <?php if (!extension_loaded("xmlreader")) print "skip"; ?> --FILE-- <?php /* $Id$ */ $xmlstring = '<?xml version="1.0" encoding="UTF-8"?> <books></books>'; $reader = new XMLReader(); $reader->XML($xmlstring); // Only go through while ($reader->read()) { echo $reader->name."\n"; } $xmlstring = ''; $reader = new XMLReader(); $reader->XML($xmlstring); ?> ===DONE=== --EXPECTF-- books books Warning: XMLReader::XML(): Empty string supplied as input in %s on line %d ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`