how to get only specific key from array of objects php code example Example: get specific key value from array php $ids = array_column($users, 'id');