You could also do this to remove both null and empty values: // PHP 7.4+ $result = array_filter(array_column($array, 'name'), ...
確定! 回上一頁