Array_Column in 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'];