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/Zend/tests/generators/ |
files >> //php-7.1.11/Zend/tests/generators/nested_calls_with_die.phpt |
--TEST-- Test nested calls with die() in a generator --FILE-- <?php function gen() { die('Test'); yield; // force generator } function function_with_3_args() { $gen = gen(); $gen->rewind(); } function function_with_4_args() { function_with_3_args(4, 5, 6); } function outerGen() { function_with_4_args(0, 1, 2, 3); yield; // force generator } $outerGen = outerGen(); $outerGen->rewind(); ?> --EXPECT-- Testy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`