Hallo Tom und Christian.
array_keys(), list und each, array_shift, ...
Kommt darauf an, ob Du weißt, an welcher Position das Element steht.
Der gewünschte Wert steht grundsätzlich direkt an erster Stelle in $arr_test.
Also ist array_keys() die kürzeste Möglichkeit?
(Zumindest fiele damit die Schleife weg.)
Einen schönen Dienstag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
mathbr:del.icio.us/ mathbr:w00t/
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
mathbr:del.icio.us/ mathbr:w00t/