Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/spl/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/spl/tests/bug42703.phpt |
--TEST-- Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator) --FILE-- <?php class BlaIterator implements Iterator { public function rewind() { } public function next() { } public function valid() { return true; } public function current() { throw new Exception('boo'); } public function key() { } } $it = new BlaIterator(); $itit = new IteratorIterator($it); try { foreach($itit as $key => $value) { echo $key, $value; } } catch (Exception $e) { var_dump($e->getMessage()); } var_dump($itit->current()); var_dump($itit->key()); ?> --EXPECTF-- string(3) "boo" NULL NULL
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare