/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/spl/tests/iterator_057.phpt
21 строка
459 B
Nikita Popov
Reindent phpt files
04 фев 2020, 00:52
04 фев 2020, 00:52
f8d7958
Код
Авторство
О чём код?
--TEST-- SPL: ArrayIterator::__construct(void) --CREDITS-- Sebastian Schürmann --FILE-- <?php /** * From Docs: Construct a new array iterator from anything that has a hash table. * NULL, NOTHING is not a hash table ;) */ class myArrayIterator extends ArrayIterator { } try { $it = new myArrayIterator(); } catch (InvalidArgumentException $e) { echo 'InvalidArgumentException thrown'; } echo 'no Exception thrown' ?> --EXPECT-- no Exception thrown