title: PHP create dynamic array in a multidimensional array
body: <p>I want to dynamic create an array based on a number inside a multidimensional array</p>
  
  <p>here is the code </p>
  
  <pre><code>$meta_box = array(  
  'id' =&gt; 'my-meta-box',
  'title' =&gt; 'Custom Input Fields',
  'page' =&gt; 'page',
  'context' =&gt; 'normal',
  'priority' =&gt; 'high',
  'fields' =&gt; array (
                    array( //this array must be created dynamic 
                        'name' =&gt; 'Textarea',
                        'desc' =&gt; 'Enter big text here',
                        'id' =&gt; 'textarea', //id is textarea + number
                        'type' =&gt; 'textarea',
                        'std' =&gt; 'Default value'
                    )
              )
  );
  </code></pre>
  
  <p>I want the last array to be created dynamic by a number so if the number is 2 there must be 2 arrays in there with the same name,desc,type,str but a diffrent ID.</p>
  
  <p>is this possible is somekind of way?</p>