3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array ( 11 => 14, 10 => 9, 12 => 7, 13 => 7, 14 => 4, 15 => 6, ); $maxs = array_keys($array, max($array)); var_dump($maxs);
based on IovFY
Output for 4.3.0 - 7.2.0
array(1) { [0]=> int(11) }