i have an array in php

$premiumlist[0] = "None";
$premiumlist[1] = "Weblink";
$premiumlist[2] = "Highlight";
$premiumlist[3] = "Highlight plus Weblink";
$premiumlist[4] = "Page Sponsor";

in smarty i have a variable from a loop called $link.premium which contains the index

i want to display the value of the array using that index.

i tried this.... but doesnt work

{$premiumlist[$link.premium]}

However this works
{$premiumlist[1]}

I have checked $link.premium value too. it works

Any ideas???

Thanks in advance