summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug66509.phpt
blob: ff49a554a418a03e0a4e350cce6cfe706f7501e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #66509 (copy() showing $context parameter as required)
--FILE--
<?php

$r = new \ReflectionFunction('copy');

foreach($r->getParameters() as $p) {
    var_dump($p->isOptional());
}
?>
--EXPECT--
bool(false)
bool(false)
bool(true)