Get first Smarty Array-Element
问题 How can i get the first smarty array element ? Actually i know how to do this... but i have following issue. I get a array passed that looks like this [DATA] => Array ( [12] => Array ( [content] => foobar ) [1] => Array ( [content] => ) [2] => Array ( [content] => ) [3] => Array ( [content] => ) //this is a snipit of {$myVar|@print_r} this goes down until [11] For some reason there is no [0] and a [12] at this position. I don't know if this will allways be 12 but I know it allways be at the