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