How to loop trough JSON with PHP? : <br> <br>
I am trying to loop trough currencies from fixer.io API, 
but my code doesn't work. Does someone know what i am doing wrong? <br>

        $json = file_get_contents('http://api.fixer.io/latest');
        $data = json_decode($json);
        dd($data);

        foreach ($data as $key => $value) {
            for ($i = 0; $i < 3; $i++) {
                dump($value[$i]);
            }
            die;
        }