The second form does the same thing, except that the current element 's key will be assigned to the variable $key on each loop.
Druga oblike sintakse naredi isto stvar, le da poleg vrednosti dobite tudi ključ elementa v polju, katerega vrednost se dodeli spremenljivki kljuc.