array_column en PHP
$key = array_search(3, array_column($users, 'user_id'));
$userName = $users[$key]['first_name'];
Energetic Echidna
$key = array_search(3, array_column($users, 'user_id'));
$userName = $users[$key]['first_name'];