私はPS4ファームウェアのバージョンをXMLから取得しようとしていますが、何らかの理由でそれがNULL
を返しています。SimpleXMLファームウェアのバージョンをXMLから取得
<?php
$list = simplexml_load_file('http://feu01.ps4.update.playstation.net/update/ps4/list/eu/ps4-updatelist.xml');
if($list) {
echo $list->system_pup[0]['label']; // get firmware version
} else {
echo 'Error opening the XML file.';
}
?>
私はthis articleを追ってきたし、私がそれを正しくやったようですので、私は、私が間違ってやっている見当がつかない。
アイデア?