mirror of
https://github.com/php/php-src.git
synced 2026-04-04 22:52:40 +02:00
Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
15 lines
328 B
PHP
15 lines
328 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> $array = [] ]
|
|
Parameter #1 [ <optional> int $flags = 0 ]
|
|
}
|
|
}
|