xref: /PHP-8.3/ext/spl/tests/bug71412.phpt (revision f7fbc633)
1--TEST--
2Bug#71412 ArrayIterator reflection parameter info
3--FILE--
4<?php
5echo (new ReflectionMethod('ArrayIterator', '__construct'));
6?>
7--EXPECT--
8Method [ <internal:SPL, ctor> public method __construct ] {
9
10  - Parameters [2] {
11    Parameter #0 [ <optional> object|array $array = [] ]
12    Parameter #1 [ <optional> int $flags = 0 ]
13  }
14}
15