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/bug71412.phpt
Máté Kocsis f7fbc6333f Add more precise type info for stubs
Closes GH-6005
2020-09-01 16:35:56 +02:00

15 lines
341 B
PHP

--TEST--
Bug#71412 ArrayIterator reflection parameter info
--FILE--
<?php
echo (new ReflectionMethod('ArrayIterator', '__construct'));
?>
--EXPECT--
Method [ <internal:SPL, ctor> public method __construct ] {
- Parameters [2] {
Parameter #0 [ <optional> object|array $array = [] ]
Parameter #1 [ <optional> int $flags = 0 ]
}
}