<?php $json = <<<JSON { "responseHeader":{ "status":0, "QTime":74 }, "initFailures":{}, "status":{ "Test17Jan":{ "name":"Test17Jan" }, "Test8Feb":{ "name":"Test8Feb" } } } JSON; $solr = json_decode($json); foreach ($solr->status as $core) { echo "Found core ". $core->name . PHP_EOL; }
You have javascript disabled. You will not be able to edit any code.