mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
18 lines
315 B
Plaintext
18 lines
315 B
Plaintext
|
--TEST--
|
||
|
SPL: ParentIterator::__construct(void)
|
||
|
--CREDITS--
|
||
|
Sebastian Schürmann
|
||
|
--FILE--
|
||
|
<?php
|
||
|
class myParentIterator extends ParentIterator {
|
||
|
|
||
|
}
|
||
|
try {
|
||
|
$it = new myParentIterator();
|
||
|
} catch (InvalidArgumentException $e) {
|
||
|
echo 'InvalidArgumentException thrown';
|
||
|
}
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
InvalidArgumentException thrown
|