Is there a proper way to do this highlighted code snippet?
$numeros = range(0, 9);
shuffle($numeros);
$id = array_slice($numeros, 1, 9);
$mult = $id[0].$id[1].$id[2].$id[3].$id[4].$id[5].$id[6].$id[7].$id[8];
echo $mult;
In other words, my intent is to transform an array into a simple variable for later use, in this case
$mult = $id[0].$id[1].$id[2].$id[3].$id[4].$id[5].$id[6].$id[7].$id[8];
Could it be done in a more professional way?