<?php  
$ch = curl_init();  
$timeout = 5;  
curl_setopt ($ch, CURLOPT_URL, 'http://api.dataoke.com/index.php?r=Port/index&type=top100&appkey=***隐藏***&v=2');  
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);  
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);  
$file_contents = curl_exec($ch);  
curl_close($ch);  
var_dump(json_decode($file_contents, true));
?>
这个为现实结果
需要的    array(27) 
如果循环读取。