If you want to generate random value in your project then you can easily get it by the rand(). Here, ran() pass two parameter, first one is for the lower limit and second one is for uper limit. like
$a = rand(1, 1000);
Here 1 is the lower limit and 1000 is the uper limit, and it will generate a number which will be in limit in 1 to 1000.
Question and answer is powered by AnsPress.io