title: php multidimensional array
body: <p>I want to form multidimensional array in with code...Something like that:</p>
  
  <pre><code>$data = array( 
      array( "Mike", "3" =&gt; 1, "4" =&gt; 0, "5" =&gt; 0), 
      array( "Steve", "3" =&gt; 0, "4" =&gt; 0, "5" =&gt; 0),
      array("John", "3" =&gt; 0, "4" =&gt; 0, "5" =&gt; 0),
       );
  </code></pre>
  
  <p>What code should be to get this result</p>
  
  <pre><code> Array
  (
  [Mike] =&gt; Array
      (
          [3] =&gt; 1
          [4] =&gt; 0
          [5] =&gt; 0
      )
  
  [Steve] =&gt; Array
      (
          [3] =&gt; 0
          [4] =&gt; 0
          [5] =&gt; 0
      )
  
  [John] =&gt; Array
      (
          [3] =&gt; 0
          [4] =&gt; 0
          [5] =&gt; 0
  
      )
  )
  </code></pre>
  
  <p>Thanks</p>