php array_rand values code example
Example: php get random value from array
$colors=["red","blue","green","orange"];
echo $colors[array_rand($colors)];//green (or any color randomly)
$colors=["red","blue","green","orange"];
echo $colors[array_rand($colors)];//green (or any color randomly)