This program generates 6 random numbers between 0 and 45 and the numbers cannot be reapeated. Can this code be improved?$numbers = [];$i = 1;while($i <= 6){    $number = mt_rand(0, 45);    if(!in_array($number, $numbers))    {        array_push($numbers, $number);        $i++;    }}sort($numbers);echo implode( - , $numbers);
Generate 6 random numbers for lottery in PHP
php;random