summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug70303.phpt
blob: 059c37005813f12158d1690b2cfd9e8ceabf111c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #70303 (Incorrect constructor reflection for ArrayObject)
--FILE--
<?php
$f = new ReflectionClass('ArrayObject');
$c = $f->getConstructor();
$params = $c->getParameters();
$param = $params[0];
var_dump($param->isOptional());
?>
--EXPECT--
bool(true)