title: Dynamic configuration parameters via parse_ini_file()
body: <p>I have a snippet of configuration code that looks like this:</p>
  
  <pre><code>        $config = array(
              'layer one' =&gt; array(
                  'host' =&gt; 'one.example.com',
                  'prefix' =&gt; '',
                  'isRemote' =&gt; false
              ),
              'layer two' =&gt; array(
                  'host' =&gt; 'two.example.com',
                  'prefix' =&gt; '/Example/two/public/index.php/',
                  'isRemote' =&gt; true
              ),
              'layer three' =&gt; array(
                  'host' =&gt; 'three.example.com',
                  'prefix' =&gt; '/Example/three/public/index.php/',
                  'isRemote' =&gt; true
              )
          );
  </code></pre>
  
  <p>I'm trying to migrate this configuration to an .ini file. The problem is, there can be an arbitrary number of the "layers" listed above, but they all must have the same set of attributes: host, prefix, and isRemote.</p>
  
  <p>What's the way to represent this in an .ini file loaded by <code>parse_ini_file()</code>?</p>
  
  <p>Thanks.</p>