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/spl/tests/ |
files >> //php-7.1.11/ext/spl/tests/recursive_tree_iterator_007.phpt |
--TEST-- SPL: RecursiveTreeIterator and Exception from getEntry() --INI-- error_reporting=E_ALL&~E_NOTICE --FILE-- <?php $ary = array(new stdClass); class RecursiveArrayIteratorAggregated implements IteratorAggregate { public $it; function __construct($it) { $this->it = new RecursiveArrayIterator($it); } function getIterator() { return $this->it; } } $it = new RecursiveArrayIteratorAggregated($ary); try { foreach(new RecursiveTreeIterator($it) as $k => $v) { echo "[$k] => $v\n"; } } catch (UnexpectedValueException $e) { echo "UnexpectedValueException thrown\n"; } ?> ===DONE=== --EXPECTF-- UnexpectedValueException thrown ===DONE===y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`