How to find the highest value in a multidimensional array?

后端 未结 5 1352
迷失自我
迷失自我 2021-01-17 05:47

I have following array:

$ar3 = array(123, array(12, 665, array(77, 255, 98, 56), 8), 1155, 676);

I need to compare all of its elements with

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-17 06:21

    @Koiten below is your answer make correct your code according to below one:

    
    

    OUTPUT: 1155

提交回复
热议问题