php - 检查PHP数组是否为空值,如果为空,则用默认值填充该特定键的值。

标签 php arrays foreach conditional-statements is-empty