bug71412.phpt 341 B

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