📅  最后修改于: 2022-03-11 14:59:52.980000             🧑  作者: Mango
$array = ['dog', 'cat', 'lion'];
if (!empty($array) && isset($array) && is_array($array) {
//loop
foreach ($array as $values) {
echo $values;
}
}