mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
18 lines
392 B
PHP
18 lines
392 B
PHP
--TEST--
|
|
Bug #74708 Wrong reflection on random_bytes and random_int
|
|
--FILE--
|
|
<?php
|
|
$rf = new ReflectionFunction('random_bytes');
|
|
var_dump($rf->getNumberOfParameters());
|
|
var_dump($rf->getNumberOfRequiredParameters());
|
|
|
|
$rf = new ReflectionFunction('random_int');
|
|
var_dump($rf->getNumberOfParameters());
|
|
var_dump($rf->getNumberOfRequiredParameters());
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|
|
int(1)
|
|
int(2)
|
|
int(2)
|