il problema è dato dal fatto che io non includo il file php ma semplicemente utilizzo il codice json tramite questa funzione.

Codice PHP:
function GetJsonFeed($json_url){    $feed file_get_contents($json_url);    return json_decode($feedtrue);}