Hi guys
I would like to convert this ..
$tmparray = split(',', $csvstring);
$element5 = $tmparray[5];
. to something like this:
$element5 = (split(',', $csvstring))[5];
. but I just can't find the correct syntax. It is Perl style - i know, but I
just love this syntax. :-)
Does anyonw know the correct syntax?
--
Regards Søren Schimkat
www.schimkat.dk
---------------------------------------
www.dyrenes-venner.dk/densorteliste.asp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php