title: How to loop through JSON object values in PHP?
body: <p>I have a JSON Object and I want to loop through the values:</p>
  
  <pre><code>$json = '{"1":a,"2":b,"3":c,"4":d,"5":e}';
  $obj = json_decode($json, TRUE);
  for($i=0; $i&lt;count($obj['a']); $i++) {
      echo $i;
  }
  </code></pre>
  
  <p>I want the <code>$i</code> to display the <code>abcde</code> that are the values in the object.</p>