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--
11Warning: rand() expects exactly 2 parameters, 1 given in %s on line 2
12
13Warning: rand() expects exactly 2 parameters, 3 given in %s on line 3
14
15Warning: rand() expects parameter 1 to be integer, string given in %s on line 4
16
17Warning: rand() expects parameter 2 to be integer, string given in %s on line 5
18