Ja, ich nehme mal an, er meint PHP. Zumindest hier mal eine Lösung, wie's darin klappen sollte (ungetestet):
Ahja, und ich würde das Array nicht wirklich "mehrdimensional" nennen, da es ja auch auf höchster Ebene teils skalare Werte enthält und daher nicht wirklich eine definitive Dimension hat.
Edit: Argh, doofer Drakes, erst schlägt er mich im Spielecontest und dann sowas. XD
--
A human is a system for converting dust billions of years ago into dust billions of years from now via a roundabout process which involves checking email a lot.