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/bug54281.phpt |
--TEST-- Bug #54281 (Crash in spl_recursive_it_rewind_ex) --FILE-- <?php class RecursiveArrayIteratorIterator extends RecursiveIteratorIterator { function __construct($it, $max_depth) { } } $it = new RecursiveArrayIteratorIterator(new RecursiveArrayIterator(array()), 2); foreach($it as $k=>$v) { } ?> --EXPECTF-- Fatal error: Uncaught LogicException: The object is in an invalid state as the parent constructor was not called in %s:%d Stack trace: #0 %s%ebug54281.php(8): RecursiveIteratorIterator->rewind() #1 {main} thrown in %s%ebug54281.php on line 8y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`