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