title: How to Clean up array and set new keys?
body: <p>I have a multi array:</p>
  
  <pre><code>array(2) {
      ["clean_bin_number"]=&gt;
      array(1) {
        [0]=&gt;
        array(1) {
          [0]=&gt;
          string(7) "1004077"
        }
      }
      ["a_values"]=&gt;
      array(6) {
        [0]=&gt; "14"
        [1]=&gt; "1"
        [2]=&gt; "43"
        [3]=&gt; "7"
        [4]=&gt; "11"
        [5]=&gt; "2"
      }
  </code></pre>
  
  <p>It was a lot more messy but I managed to clean it up to this point.
  Now I am trying to achieve an array that will look like this but I can not find how...</p>
  
  <pre><code>array(2) {
          ["clean_bin_number"] =&gt; "1004077"
          }
          ["a_values"]=&gt;
          array(6) {
            "Total A" =&gt; "14"
            "Open A" =&gt; "1"
            "Total B" =&gt; "43"
            "Open B" =&gt; "7"
            "Total C" =&gt; "11"
            "Open C" =&gt; "2"
          }
  </code></pre>
  
  <p>The Order of the a_values array always stay the same but I still can not manage to set their keys....</p>
  
  <p>Thank You</p>