title: PHP - How to access and store the JSON values in variables like $firstName, $lastName
body: <p>I have the output of JSON by <code>$result = json_encode($json)</code> in $result. How can i access the values like Mickey, Maddu, mickey@gmail. I need to store these values in variables.</p>
  
  <p><strong>JSON Output</strong></p>
  
  <pre><code>{"jsonFirstName":"Mickey","jsonLastName":"Maddu","jsonEmail":"mickey@gmail.com","jsonPassword":"QWERqwer!@#$","jsonDob":"2014-01-01","jsonDobTime":"dobtime","jsonLocaldob":"2014-01-01T01:00","jsonSsn":"123-12-1234","jsonPhonenumber":"123-123-1234","jsonCreditcardnumber":"123412341234"}
  </code></pre>