title: What's simpliest way to fill a multidimentional array? PHP
body: <p>I have the following:</p>
  
  <pre><code>$toys[1]['brand']= "";
  $toys[2]['brand']= "";
  $toys[3]['brand']= "";
  $toys[4]['brand']= "";
  // and so on..
  </code></pre>
  
  <p>I wanted to fill all the brands key with "blah"...</p>
  
  <p>It would be nice if there was a:</p>
  
  <pre><code>$toys[*]['branding'] = 'blah';
  </code></pre>
  
  <p>with <code>*</code> meaning ALL. But unfortunately that's not available.</p>
  
  <p>The next simplest way I can think of is a <code>foreach()</code> loop </p>
  
  <p>but was just wondering if there's a function I may not be aware of that's kinda like <code>array_fill</code> but for multi-dimentional? Or at least if there's a better technique?</p>