<?php
$data = '{"error":null,"miningSpeeds":[{"coinTypeCode":"HXC","currentHash":"5 Gh/sec","miningTime":"The last coin switch was 4 minutes ago.","port":"Connect via port 3326 (Keccak)."},{"coinTypeCode":"LOT","currentHash":"9823 Kh/sec","miningTime":"The last coin switch was 44 minutes ago.","port":"Connect via port 3332 (Scrypt)."},{"coinTypeCode":"MZC","currentHash":"11 Th/sec","miningTime":"The last coin switch was 20 minutes ago.","port":"Connect via port 3331 (SHA256)."}]}'
$j = json_decode($data, true);
print_r($j);