1--TEST--
2mt_srand(): Test unknown modes
3--FILE--
4<?php
5// MT_RAND_MT19937
6mt_srand(1, 0);
7var_dump(mt_rand());
8// MT_RAND_PHP
9mt_srand(1, 1);
10var_dump(mt_rand());
11// Unknown
12mt_srand(1, 2);
13var_dump(mt_rand());
14// Equivalent to 0 when cast as unsigned 8-bit integer
15mt_srand(1, 256);
16var_dump(mt_rand());
17?>
18--EXPECTF--
19int(895547922)
20
21Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
22int(1244335972)
23int(895547922)
24int(895547922)
25