Home
last modified time | relevance | path

Searched refs:random_int (Results 1 – 9 of 9) sorted by relevance

/PHP-7.4/ext/standard/tests/random/
H A Drandom_int.phpt2 Test normal operation of random_int()
6 var_dump(is_int(random_int(10, 100)));
8 $x = random_int(10, 100);
11 var_dump(random_int(-1000, -1) < 0);
12 var_dump(random_int(-1, PHP_INT_MAX) >= -1);
13 var_dump(is_int(random_int(PHP_INT_MIN, PHP_INT_MAX)));
15 var_dump(random_int(42,42));
H A Drandom_int_error.phpt2 Test error operation of random_int()
8 $randomInt = random_int();
14 $randomInt = random_int(42);
20 $randomInt = random_int(42,0);
27 random_int() expects exactly 2 parameters, 0 given
28 random_int() expects exactly 2 parameters, 1 given
H A Dreflection.phpt2 Bug #74708 Wrong reflection on random_bytes and random_int
9 $rf = new ReflectionFunction('random_int');
/PHP-7.4/ext/sodium/tests/
H A Dcrypto_aead.phpt12 $msg = random_bytes(random_int(1, 1000));
15 $ad = random_bytes(random_int(1, 1000));
35 $msg = random_bytes(random_int(1, 1000));
38 $ad = random_bytes(random_int(1, 1000));
64 $msg = random_bytes(random_int(1, 1000));
67 $ad = random_bytes(random_int(1, 1000));
91 $msg = random_bytes(random_int(1, 1000));
93 $ad = random_bytes(random_int(1, 1000));
H A Dcrypto_secretstream.phpt12 $msg1 = random_bytes(random_int(1, 1000));
13 $msg2 = random_bytes(random_int(1, 1000));
15 $ad = random_bytes(random_int(1, 1000));
H A Dcrypto_hex.phpt7 $bin = random_bytes(random_int(1, 1000));
/PHP-7.4/ext/standard/
H A Dphp_random.h25 PHP_FUNCTION(random_int);
H A Drandom.c273 PHP_FUNCTION(random_int) in PHP_FUNCTION() argument
H A Dbasic_functions.c2896 PHP_FE(random_int, arginfo_random_int)

Completed in 21 milliseconds