in_array multidimensional array php code example Example: php nested array contains in_array($search, array_column($array, 'name'))