3v4l.org

run code in 300+ PHP versions simultaneously
<?php //der blöden Seite die blöden Infos entlocken!! $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POSTFIELDS, "alpha_slots=true&chart=day&fans=true&funds=true"); curl_setopt($ch, CURLOPT_REFERER, "https://robertsspaceindustries.com/api/stats/getCrowdfundStats"); $json=curl_exec($ch); curl_close($ch); //aus dummem JSON tolle Arrays machen =) $array=json_decode($json, true); $array=$array["data"]; echo "fans:".$array["fans"].", funds:".$array["funds"].", alpha_slots_left:".$array["alpha_slots_left"]." =)"; ?>

preferences:
33.78 ms | 402 KiB | 5 Q