First, array_reduce() works with associative arrays, but you don't have any chance to access the key in the callback function, only the value. You could use the ...
確定! 回上一頁