Home
last modified time | relevance | path

Searched refs:gmp_random_bits (Results 1 – 7 of 7) sorted by relevance

/PHP-8.4/ext/gmp/tests/
H A Dgmp_random_seed.phpt13 var_dump(gmp_strval(gmp_random_bits(10)));
14 var_dump(gmp_strval(gmp_random_bits(100)));
15 var_dump(gmp_strval(gmp_random_bits(1000)));
25 var_dump(gmp_strval(gmp_random_bits(10)));
26 var_dump(gmp_strval(gmp_random_bits(100)));
27 var_dump(gmp_strval(gmp_random_bits(1000)));
37 var_dump(gmp_strval(gmp_random_bits(10)));
38 var_dump(gmp_strval(gmp_random_bits(100)));
49 var_dump(gmp_strval(gmp_random_bits(10)));
50 var_dump(gmp_strval(gmp_random_bits(100)));
[all …]
H A Dgmp_random_bits.phpt2 gmp_random_bits() basic tests
9 var_dump(gmp_random_bits(0));
14 var_dump(gmp_random_bits(-1));
20 gmp_random_bits(1);
21 gmp_random_bits(1024);
28 $result = gmp_random_bits(30);
44 gmp_random_bits(): Argument #1 ($bits) must be between 1 and %d
45 gmp_random_bits(): Argument #1 ($bits) must be between 1 and %d
H A Dgh16501.phpt2 GH-16501 (gmp_random_bits overflow)
8 gmp_random_bits(PHP_INT_MAX);
14 gmp_random_bits(): Argument #1 ($bits) must be between 1 and %d
/PHP-8.4/ext/gmp/
H A Dgmp_arginfo.h234 ZEND_FUNCTION(gmp_random_bits);
290 ZEND_FE(gmp_random_bits, arginfo_gmp_random_bits)
H A Dgmp.stub.php158 function gmp_random_bits(int $bits): GMP {} function
H A Dgmp.c1871 ZEND_FUNCTION(gmp_random_bits) in ZEND_FUNCTION() argument
/PHP-8.4/
H A DNEWS180 . Fixed bug GH-16501 (gmp_random_bits() can cause overflow).

Completed in 22 milliseconds