1--TEST--
2Test mt_srand() - wrong params test mt_srand()
3--FILE--
4<?php
5var_dump(mt_srand(500, true));
6var_dump(mt_srand("fivehundred"));
7var_dump(mt_srand("500ABC"));
8?>
9--EXPECTF--
10Warning: mt_srand() expects at most 1 parameter, 2 given in %s on line 2
11NULL
12
13Warning: mt_srand() expects parameter 1 to be long, string given in %s on line 3
14NULL
15
16Notice: A non well formed numeric value encountered in %s on line 4
17NULL
18
19
20
21