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