【发布时间】:2023-03-31 12:01:02
【问题描述】:
我正在尝试让它工作,但看不到哪里出错了。有人可以帮忙吗?
<?php
$jsonurl = 'http://www.foxsports.com.au/internal-syndication/json/livescoreboard';
$json = file_get_contents($jsonurl,0,null,null);
$json_output = var_dump(json_decode($json,true));
echo $json_output
?>
【问题讨论】:
标签: php json file-get-contents