<?php
$q = rand(0 , 3);
if ($q==0){
$say = "Welcome";
}
if ($q==1){
$say = "HI";
}
if ($q==2){
$say = "🙂";
}
if ($q==3){
$say = "Yes.. php.net";
}
echo $say;
?>
Is there anyway to make it like this
$say = array [welcome, hi, 🙂, yes php.net]
echo rand ($say)