3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<html>"; echo "<title>HTML with PHP</title>"; echo "<b>My Example</b>"; $apiKey = "c2bcc89a-7355-4909-b729-5ed52f0f7f11"; // get the basic summoner info $result = file_get_contents("http://status.leagueoflegends.com/shards/euw"); $stats = json_decode($result); foreach($stats->services as $stato){ $condizione=$stato->status; $servizio=$stato->name; print $servizio; print " "; print $condizione;print " "; } // var_dump($summoner); print "<i>Print works too!</i>"; ?>

preferences:
54.12 ms | 402 KiB | 5 Q