xref: /PHP-8.0/ext/standard/tests/math/bug75514.phpt (revision a555cc0b)
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--EXPECT--
9int(448865905)
10int(592)
11