title: Change Array keys to numeric in PHP
body: <p>This is probably a simple question for you php whizzes out there but I can't seem to find an answer in google!</p>
  
  <p>I have a multi-dimensional array which first set of keys are named and I want to change them into numbers like 0, 1, 2..</p>
  
  <p>If it was a normal array I could set $newArray = array_values($multiArr); and it would get rid of the keys and make them numeric! But since its multidimensional theres another set of keys/values underneath this.</p>
  
  <p>Could I somehow use a loop to loop through it and define each one? But then how would I specify the current key?</p>
  
  <p>Any advice would help thank you! </p>
  
  <p>If this helps at all the data coming in is a JSON received from a device and there's something wrong with the encoding so the data looks like this:</p>
  
  <pre>
  `Array
  (
      [�w� ��߯19�] => Array
          (
              [down] => 1279146141431
              [up] => 1279146351453
          )
  `</pre>
  
  <p>So I need to somehow get access to the data underneath each crazy key.</p>