1--TEST--
2Test mt_srand() - basic function (return values) mt_srand()
3--FILE--
4<?php
5// Should return NULL if given anything that it can convert to long
6// This doesn't actually test what it does with the input :-\
7var_dump(mt_srand());
8var_dump(mt_srand(500));
9var_dump(mt_srand(500.1));
10var_dump(mt_srand("500"));
11var_dump(mt_srand("500E3"));
12var_dump(mt_srand(true));
13var_dump(mt_srand(false));
14?>
15--EXPECTF--
16NULL
17NULL
18
19Deprecated: Implicit conversion from float 500.1 to int loses precision in %s on line %d
20NULL
21NULL
22NULL
23NULL
24NULL
25