I have a problem I can not solve this task at all. can you help me.
We have a multivariate array that describes something like an Excel table or matrix, ect. the first index represents the row and the second column. The rows can have a different number of elements (columns). Count the amounts in the columns and select the highest.
$a = [[1, 3, 4], [2, 5], [2 => 3, 5 => 8], [1, 1, 5 => 1]];