1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/spl/tests/iterator_062.phpt
2020-09-09 10:47:43 +02:00

19 lines
384 B
PHP

--TEST--
SPL: RecursiveIteratorIterator::__construct(void)
--CREDITS--
Sebastian Schürmann
--FILE--
<?php
class myRecursiveIteratorIterator extends RecursiveIteratorIterator {
}
try {
$it = new myRecursiveIteratorIterator();
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
RecursiveIteratorIterator::__construct() expects at least 1 argument, 0 given