xref: /PHP-7.2/ext/standard/tests/math/bug75514.phpt (revision e704e1e8)
1--TEST--
2Bug #75514 mt_rand returns value outside [$min,$max]
3--FILE--
4<?php
5mt_srand(0, MT_RAND_PHP);
6var_dump(mt_rand(0,999999999), mt_rand(0,999));
7?>
8===Done===
9--EXPECT--
10int(448865905)
11int(592)
12===Done===
13