php trovare la chiave nell'array
<?php
$search_array = array('first' => 1, 'second' => 4);
if (array_key_exists('first', $search_array)) {
echo "The 'first' element is in the array";
}
?>
specifiche chiave valore dall'array php
$ids = array_column($users, 'id');