3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = <<<'HERE' { "chat_id": -1002026128731, "media": "[{\"type\":\"photo\",\"media\":\"AgACAgQAAx0CeMRFWwACA0dmaI9j1t0dBOmzevtchWjxyYpNVAAC1MAxG4QXQFPB9Xd0YHd-gwEAAwIAA3MAAzUE\",\"caption\":\"\\u262f\\ufe0f Anuncio de @teos67\\u2b50 \\u26e9\\ufe0f\\n\\n67noadmin67 67restrict67 67testusername67 \\u00f1ksds 678135328 ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv\\n\\ud83d\\udcac go-whatsapp.com\\\/34678135328?p=93&test7777=1\\n\\nPERFIL NO COMUNICADO \\ud83d\\udc64\\u203c\\ufe0f Por favor configura un nombre de usuario en Telegram para poder notificarte novedades: ayuda\\n\\n\\ud83d\\udc41\\ufe0f 0 \\ud83d\\udcacwa 0 \\ud83d\\udcactg 0\",\"caption_entities\":\"[{\\\"type\\\":\\\"text_link\\\",\\\"offset\\\":14,\\\"length\\\":7,\\\"url\\\":\\\"https:\\\\\\\/\\\\\\\/clonedsite3.com\\\\\\\/u\\\\\\\/teos67\\\"},{\\\"type\\\":\\\"bold\\\",\\\"offset\\\":328,\\\"length\\\":20},{\\\"type\\\":\\\"text_link\\\",\\\"offset\\\":441,\\\"length\\\":5,\\\"url\\\":\\\"https:\\\\\\\/\\\\\\\/t.me\\\\\\\/nirvana_red\\\\\\\/18\\\"}]\"},{\"type\":\"photo\",\"media\":\"AgACAgQAAxkBAANgZddxLi3CxtHMnkaRqRc4BUWMPmcAAhq_MRtdFrlSKl1MuRYl0iIBAAMCAANzAAM0BA\"},{\"type\":\"photo\",\"media\":\"AgACAgQAAxkBAANgZddxLi3CxtHMnkaRqRc4BUWMPmcAAhq_MRtdFrlSKl1MuRYl0iIBAAMCAANzAAM0BA\"}]" } HERE; $request = json_decode($s, true); echo $request['media'];
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.20, 8.3.0 - 8.3.8
[{"type":"photo","media":"AgACAgQAAx0CeMRFWwACA0dmaI9j1t0dBOmzevtchWjxyYpNVAAC1MAxG4QXQFPB9Xd0YHd-gwEAAwIAA3MAAzUE","caption":"\u262f\ufe0f Anuncio de @teos67\u2b50 \u26e9\ufe0f\n\n67noadmin67 67restrict67 67testusername67 \u00f1ksds 678135328 ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv ksjdb ssldnsdv\n\ud83d\udcac go-whatsapp.com\/34678135328?p=93&test7777=1\n\nPERFIL NO COMUNICADO \ud83d\udc64\u203c\ufe0f Por favor configura un nombre de usuario en Telegram para poder notificarte novedades: ayuda\n\n\ud83d\udc41\ufe0f 0 \ud83d\udcacwa 0 \ud83d\udcactg 0","caption_entities":"[{\"type\":\"text_link\",\"offset\":14,\"length\":7,\"url\":\"https:\\\/\\\/clonedsite3.com\\\/u\\\/teos67\"},{\"type\":\"bold\",\"offset\":328,\"length\":20},{\"type\":\"text_link\",\"offset\":441,\"length\":5,\"url\":\"https:\\\/\\\/t.me\\\/nirvana_red\\\/18\"}]"},{"type":"photo","media":"AgACAgQAAxkBAANgZddxLi3CxtHMnkaRqRc4BUWMPmcAAhq_MRtdFrlSKl1MuRYl0iIBAAMCAANzAAM0BA"},{"type":"photo","media":"AgACAgQAAxkBAANgZddxLi3CxtHMnkaRqRc4BUWMPmcAAhq_MRtdFrlSKl1MuRYl0iIBAAMCAANzAAM0BA"}]

preferences:
72.94 ms | 405 KiB | 65 Q