I have this array :
$fr_coin_multiplier_asc = array('BTC'=>30,
'ETH'=>28,
'BNB'=>36,
'USDT'=>39,
'NEO'=>8,
'LTC'=>9,
'BCC'=>17);
asort($fr_coin_multiplier_asc);
and I want to get the first element of that array after sorted using this method :
reset($fr_coin_multiplier_asc);
print_r(current($fr_coin_multiplier_asc));
in this case, i'm expecting NEO and 8 as result, but it only gives me 8. how to get NEO and also 8?
thank you
key($array)