<?php
$json = <<<EOD
{
"items": [{
"tag": "#Q8PC0JP8",
"name": "UNIÃO LENDÁRIA",
"type": "open",
"location": {
"id": 32000038,
"name": "Brazil",
"isCountry": true,
"countryCode": "BR"
},
"badgeUrls": {
"small": "https://a...content-available-to-author-only...s.com/badges/70/E75PzYKp5iqzLoCBSKfmURN757zafvXZUL29KhLSFs0.png",
"large": "https://a...content-available-to-author-only...s.com/badges/512/E75PzYKp5iqzLoCBSKfmURN757zafvXZUL29KhLSFs0.png",
"medium": "https://a...content-available-to-author-only...s.com/badges/200/E75PzYKp5iqzLoCBSKfmURN757zafvXZUL29KhLSFs0.png"
},
"clanLevel": 1,
"clanPoints": 414,
"requiredTrophies": 200,
"warFrequency": "always",
"warWinStreak": 0,
"warWins": 1,
"warTies": 0,
"warLosses": 2,
"isWarLogPublic": true,
"members": 1
}]
}
EOD;
echo $info['items'][0]['name'];
PD9waHAgCgokanNvbiA9IDw8PEVPRAp7CgkiaXRlbXMiOiBbewoJCSJ0YWciOiAiI1E4UEMwSlA4IiwKCQkibmFtZSI6ICJVTknDg08gTEVORMOBUklBIiwKCQkidHlwZSI6ICJvcGVuIiwKCQkibG9jYXRpb24iOiB7CgkJCSJpZCI6IDMyMDAwMDM4LAoJCQkibmFtZSI6ICJCcmF6aWwiLAoJCQkiaXNDb3VudHJ5IjogdHJ1ZSwKCQkJImNvdW50cnlDb2RlIjogIkJSIgoJCX0sCgkJImJhZGdlVXJscyI6IHsKCQkJInNtYWxsIjogImh0dHBzOi8vYS4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4ucy5jb20vYmFkZ2VzLzcwL0U3NVB6WUtwNWlxekxvQ0JTS2ZtVVJONzU3emFmdlhaVUwyOUtoTFNGczAucG5nIiwKCQkJImxhcmdlIjogImh0dHBzOi8vYS4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4ucy5jb20vYmFkZ2VzLzUxMi9FNzVQellLcDVpcXp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