Julian von Mendel: Anfängerproblem: Array?

Beitrag lesen

Hi,

echo getimagesize($imglocation)[3];

Trenne das mal auf:
$bildmasse = getimagesize($imglocation);
echo $bildmasse[3];

warum ist das eigentlich notwendig?

Schöne Grüße
Julian

--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net