hey guys, how to get min value in array 2D except value zero '0'and also key ?
i've try use min and array_filter function to solve it
can you help me?please

Array
(
[0] => Array
(
[0] => 0
[1] => 6
[2] => 4
)

[1] => Array
(
[0] => 6
[1] => 0
[2] => 2
)

[2] => Array
(
[0] => 4
[1] => 2
[2] => 0
)

)
i want result like this:
Array
(
[1] => Array
(
[2] => 2
)
)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.