3v4l.org

run code in 300+ PHP versions simultaneously
<?php $typeID = 1230; // set feed URL $url = 'http://api.eve-central.com/api/marketstat?typeid='.$typeID.'&regionlimit=10000002'; echo $url."<br />"; // read feed into SimpleXML object $sxml = simplexml_load_file($url); // then you can do var_dump($sxml); // And now you'll be able to call `$sxml->marketstat->type->buy->volume` as well as other properties. echo $sxml->marketstat->type->buy->volume; ?>

preferences:
36.92 ms | 402 KiB | 5 Q