$secondKeys=array_unique(array_merge(...array_map('array_keys', $a)));. That provides same answer as above, and much faster. source.
確定! 回上一頁