I have this array:
$predmeti = [
'slo' => 'slovenščina',
'mat' => 'matematika',
'ang' => 'angleščina',
'fot' => 'fotografija',
'tir' => 'tipografija in reprodukcija',
'tirv' => 'tipografija in reprodukcija vaje',
'gob' => 'grafično oblikovanje',
'mob' => 'medijsko oblikovanje',
];
Somewhere in code I want to get all first values of this array (slo, mat, ang...) How do I achive that?
I need to pass all the values in foreach statment after getting all first values.