3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = Array( 174110 => Array ( 0 => 10, 1 => 20, 2 => 400, 3 => 150, ), 176545 => Array ( 0 => 30, 1 => 20, 2 => 900, 3 => 750, ) ); $result = array(); foreach ($arr as $_arr) { $result[] = min($_arr); } var_dump($result);
based on 2amR8
Output for 4.3.0 - 7.2.0
array(2) { [0]=> int(10) [1]=> int(20) }