Download src/php/php-src/ext/random/tests/01_functions/bug75514.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/random/tests/01_functions/bug75514.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/random/tests/01_functions/bug75514.phpt
-
curl -L -o bug75514.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/random/tests/01_functions/bug75514.phpt
333 Bytes
| --TEST-- | |
| Bug #75514 mt_rand returns value outside [$min,$max] | |
| --FILE-- | |
| mt_srand(0, MT_RAND_PHP); | |
| var_dump(mt_rand(0,999999999), mt_rand(0,999)); | |
| --EXPECTF-- | |
| Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d | |
| Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d | |
| int(448865905) | |
| int(592) | |