3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsndata = '{ "success":true, "data":"{\"campaign_name\":\"helloworld\",\"download_link\":\"https:\\\/\\\/google.com\\\/accesskey\\\/getfile\\\/m-spqn-e61-2aef2575a0b5250354f2b0fda033e703?token=HUSYjdC5jyJskXUHiKn13l1A1BaAjH2R&dcma=5ecceb0522bcd0db\",\"link\":\"http:\\\/\\\/www.lol.com\\\/remove\\\/remove.php\"}", "message":null }'; // Decode the main json object $jsn = json_decode($jsndata,true); // Since 'data' is another serialized object, you need to decode that as well: $data = json_decode($jsn['data'], true); // Now you can access the contents of 'data' echo $data['download_link'];
Output for git.master, git.master_jit, rfc.property-hooks
https://google.com/accesskey/getfile/m-spqn-e61-2aef2575a0b5250354f2b0fda033e703?token=HUSYjdC5jyJskXUHiKn13l1A1BaAjH2R&dcma=5ecceb0522bcd0db

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
59.54 ms | 405 KiB | 5 Q