📜  php代码示例中的array_column

📅  最后修改于: 2022-03-11 14:54:37.686000             🧑  作者: Mango

代码示例1
$key = array_search(3, array_column($users, 'user_id'));

$userName = $users[$key]['first_name'];