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/bug70561.phpt |
--TEST-- Bug #70561 (DirectoryIterator::seek should throw OutOfBoundsException) --FILE-- <?php $di = new DirectoryIterator(__DIR__ . '/..'); $cnt = 0; $di->rewind(); while ($di->valid()) { $cnt++; $di->next(); } try { $di->seek($cnt+1); } catch (OutOfBoundsException $ex) { echo $ex->getMessage() . PHP_EOL; } echo "Is valid? " . (int) $di->valid() . PHP_EOL; ?> --EXPECTF-- Seek position %d is out of range Is valid? 0
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare