summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug71412.phpt
blob: 7db6b084694773c7cb4ad2f8c3196c3524ca58bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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> $ar_flags ]
  }
}