title: Parse JSON string contents into PHP Array
body: <p>I am trying to parse a string in JSON, but not sure how to go about this. This is an example of the string I am trying to parse into a PHP array.</p>
  
  <pre><code>$json = '{"id":1,"name":"foo","email":"foo@test.com"}';  
  </code></pre>
  
  <p>Is there some library that can take the id, name, and email and put it into an array? </p>