摘要: 对空数组元素??并进行运算,可能触发 Undefined index 错误 $TotalGb = $TotalGroupBrand[$brandNameEn] ?? []; $quantity = $TotalGb['stock'] ?? 0 + $TotalGb['unshipped_qty'] 阅读全文
posted @ 2024-11-29 17:13 pine007 阅读(5) 评论(0) 推荐(0) 编辑