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/regexiterator_setflags_exception.phpt |
--TEST-- SPL: RegexIterator::setFlags() exceptions test --CREDITS-- Lance Kesson jac_kesson@hotmail.com #testfest London 2009-05-09 --FILE-- <?php class myIterator implements Iterator { function current (){} function key ( ){} function next ( ){} function rewind ( ){} function valid ( ){} } class TestRegexIterator extends RegexIterator{} $rege = '/^a/'; $r = new TestRegexIterator(new myIterator, $rege); try{ $r->setFlags(); }catch (Exception $e) { echo $e->getMessage(); } ?> --EXPECTF-- Warning: RegexIterator::setFlags() expects exactly 1 parameter, 0 given in %sy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`