Solr returns response in following JSON format.
{ \"responseHeader\":{ \"status\":0, \"QTime\":2, \"params\":{ \"indent\":\"on\", \
PHP has a json_decode function that will allow you to turn a JSON string into an array:
$array = json_decode($json_string, true); $student_id = $array['response']['docs'][0]['student_id']; ...
Of course, you might want to iterate through the list of students instead of accessing index 0.