xref: /PHP-8.1/ext/standard/tests/file/bug66509.phpt (revision 782352c5)
1--TEST--
2Bug #66509 (copy() showing $context parameter as required)
3--FILE--
4<?php
5
6$r = new \ReflectionFunction('copy');
7
8foreach($r->getParameters() as $p) {
9    var_dump($p->isOptional());
10}
11?>
12--EXPECT--
13bool(false)
14bool(false)
15bool(true)
16