mirror of
https://github.com/php/php-src.git
synced 2026-03-27 17:52:16 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
20 lines
497 B
PHP
20 lines
497 B
PHP
--TEST--
|
|
Phar: bug #74386: Phar::__construct(): wrong number of parameters by reflection
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
$r = new ReflectionMethod(Phar::class, '__construct');
|
|
var_dump($r->getNumberOfRequiredParameters());
|
|
var_dump($r->getNumberOfParameters());
|
|
|
|
$r = new ReflectionMethod(PharData::class, '__construct');
|
|
var_dump($r->getNumberOfRequiredParameters());
|
|
var_dump($r->getNumberOfParameters());
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|
|
int(3)
|
|
int(1)
|
|
int(4)
|