1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00
Files
archived-php-src/ext/standard/tests/file/bug66509.phpt
T
2018-10-14 12:07:20 -03:00

16 lines
243 B
PHP

--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)