1--TEST--
2Test mt_rand() - wrong params test mt_rand()
3--FILE--
4<?php
5mt_rand(25);
6mt_rand(10,100,false);
7mt_rand("one", 100);
8mt_rand(1, "hundered");
9?>
10
11--EXPECTF--
12
13Warning: mt_rand() expects exactly 2 parameters, 1 given in %s on line 2
14
15Warning: mt_rand() expects exactly 2 parameters, 3 given in %s on line 3
16
17Warning: mt_rand() expects parameter 1 to be long, string given in %s on line 4
18
19Warning: mt_rand() expects parameter 2 to be long, string given in %s on line 5
20