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--EXPECTF--
9Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
10
11Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
12int(448865905)
13int(592)
14