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 >> /opt/php-7.0.1/ext/spl/tests/ |
files >> //opt/php-7.0.1/ext/spl/tests/spl_006.phpt |
--TEST-- SPL: iterator_to_array() without keys --FILE-- <?php $it = new AppendIterator(); $it->append(new ArrayIterator(array(1,2))); $it->append(new ArrayIterator(array(2,3))); var_dump(iterator_to_array($it)); var_dump(iterator_to_array($it, false)); var_dump(iterator_to_array($it, true)); ?> ===DONE=== --EXPECT-- array(2) { [0]=> int(2) [1]=> int(3) } array(4) { [0]=> int(1) [1]=> int(2) [2]=> int(2) [3]=> int(3) } array(2) { [0]=> int(2) [1]=> int(3) } ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`