php multidimensional array get all values by key

72

php multidimensional array get all values by key -

$ids = array_column($users, 'id');

Comments

Submit
0 Comments