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 >> /proc/self/root/php-7.1.11/ext/simplexml/tests/ |
files >> //proc/self/root/php-7.1.11/ext/simplexml/tests/bug67116.phpt |
--TEST-- Bug #67116 (Inconsistent parsing of Nodes w/o linefeed) --SKIPIF-- <?php if (!extension_loaded("simplexml")) die("skip SimpleXML not available"); ?> --FILE-- <?php $xml = <<<XML <?xml version="1.0" encoding="UTF-8"?> <aa> <bs> <b>b</b> </bs> <cs><c>b</c></cs> <ds><d id="d"></d></ds> <es> <e id="e"></e> </es> <fs><f id="f"></f><f id="f"></f></fs> </aa> XML; $sxe = simplexml_load_string($xml); print_r($sxe); ?> --EXPECT-- SimpleXMLElement Object ( [bs] => SimpleXMLElement Object ( [b] => b ) [cs] => SimpleXMLElement Object ( [c] => b ) [ds] => SimpleXMLElement Object ( [d] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => d ) ) ) [es] => SimpleXMLElement Object ( [e] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => e ) ) ) [fs] => SimpleXMLElement Object ( [f] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => f ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => f ) ) ) ) )y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`