jjzjj

intInvoiceCount

全部标签

php - 合并两个关联数组并按一级键分组

$数组1:-Array([TestStock]=>Array([intStockCount]=>10)[CARTON50X50X50]=>Array([intStockCount]=>10))$array2:-Array([TestStock]=>Array([intInvoiceCount]=>20)[CARTON50X50X50]=>Array([intInvoiceCount]=>30))我需要一个不使用循环将所有内容组合在一起的新数组Array([TestStock]=>Array([intStockCount]=>10[intInvoiceCount]=>20)[CARTON