• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Accessing arrays in template

I was wondering how would one go about accessing an array like this for example (in php): $arg[$id]['value']

I noticed I could do $arg.1.value but I want to replace the 1 with a variable... is it possible?