Get the maximum value from an element in a multidimensional array?
问题 I'm trying to select the maximum value for a particular key in a multidimensional array. I'm having trouble "getting to" the key in question... So, the array (which is much more lengthy than what I'm posting here) [0] => stdClass Object ( [id] => 70 [cust] => 4 [dnum] => 1 [upper] => Array ( [0] => 66 ) ) [1] => stdClass Object ( [id] => 43 [cust] => 42 [dnum] => 2 [upper] => Array ( [0] => 77 ) ) [2] => stdClass Object ( [id] => 12 [cust] => 3 [dnum] => 0 [upper] => Array ( [0] => 99 ) ) I'm