title: How to recursively create a multidimensional array?
body: <p>I am trying to create a multi-dimensional array whose parts are determined by a string. I'm using <code>.</code> as the delimiter, and each part (except for the last) should be an array<br>
  ex:</p>
  
  <pre><code>config.debug.router.strictMode = true
  </code></pre>
  
  <p>I want the same results as if I were to type:</p>
  
  <pre><code>$arr = array('config' =&gt; array('debug' =&gt; array('router' =&gt; array('strictMode' =&gt; true))));
  </code></pre>
  
  <p>This problem's really got me going in circles, any help is appreciated. Thanks!</p>