mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
17 lines
286 B
PHP
17 lines
286 B
PHP
--TEST--
|
|
SPL: RecursiveTreeIterator(void)
|
|
--INI--
|
|
error_reporting=E_ALL&~E_NOTICE
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
new RecursiveTreeIterator();
|
|
} catch (InvalidArgumentException $e) {
|
|
echo "InvalidArgumentException thrown\n";
|
|
}
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
InvalidArgumentException thrown
|
|
===DONE===
|