Invoking Multidimensional Associative Arrays in Templates
<p>I'm building a small template system and i'm looking for a way to invoke multidimensional associative arrays using dots. For example: </p>

<pre><code>$animals = array(
 'four-legged' =&gt; array (
  'cute' =&gt; 'no',
  'ugly' =&gt; 'no',
  'smart' =&gt; array(
   'best' =&gt; 'dog',
   'worst' =&gt; 'willy'
  )
 ),
 '123' =&gt; '456',
 'abc' =&gt; 'def'
);
</code></pre>

<p>Then, in my template, if i wanted to show 'dog', i would put: </p>

<p>{a.four-legged.smart.best}</p>
