<?php
$a = array(-15, 3, 5, -1, -15);
$b = array(1, 3, 5);
function lowest_int ($c){
print_r(array_keys($c, min($c)));
}
print_r(lowest_int($a));
print_r(lowest_int($b));
?>
Hello guys the out of my code should be [0] => -15 [4] => -15 for the first array and [0] => 1 for the second array.
However. this is my output:
Array ( [0] => 1 [1] => 4 )
Array ( [0] => 0 )
Any ideas what am doing wrong? Thank you so much in advance!