3v4l.org

run code in 300+ PHP versions simultaneously
<?php // set feed URL $url = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.xchange%20where%20pair%20in%20(%22INRUSD%22)&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys'; // 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->diagnostics->results->rate id="INRUSD"->Rate; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0070.04112.37
5.4.250.0100.04612.37
5.4.240.0080.04112.37
5.4.230.0070.03912.36
5.4.220.0070.03812.36
5.4.210.0100.04312.36
5.4.200.0060.04512.36
5.4.190.0060.04312.36
5.4.180.0100.03812.36
5.4.170.0080.03912.37
5.4.160.0040.03812.36
5.4.150.0070.03612.35
5.4.140.0060.04012.04
5.4.130.0060.03612.03
5.4.120.0060.03511.99
5.4.110.0080.03611.99
5.4.100.0090.03311.99
5.4.90.0080.03711.99
5.4.80.0050.03911.99
5.4.70.0080.03411.98
5.4.60.0040.03811.98
5.4.50.0060.03811.98
5.4.40.0070.03611.97
5.4.30.0050.03911.97
5.4.20.0090.03711.97
5.4.10.0060.03911.97
5.4.00.0080.04011.46
5.3.280.0100.04112.71
5.3.270.0080.04912.72
5.3.260.0070.05012.72
5.3.250.0080.05212.72
5.3.240.0090.04712.72
5.3.230.0080.04912.71
5.3.220.0080.04112.68
5.3.210.0090.04912.68
5.3.200.0090.04512.68
5.3.190.0080.03812.68
5.3.180.0070.04012.67
5.3.170.0070.03912.67
5.3.160.0080.04812.67
5.3.150.0090.04812.67
5.3.140.0070.04112.66
5.3.130.0080.04312.66
5.3.120.0110.04712.66
5.3.110.0100.05012.66
5.3.100.0080.04412.12
5.3.90.0070.04312.08
5.3.80.0060.04412.07
5.3.70.0090.04312.07
5.3.60.0070.04212.06
5.3.50.0060.04112.00
5.3.40.0070.04412.00
5.3.30.0090.04111.94
5.3.20.0100.03711.71
5.3.10.0090.04111.67
5.3.00.0060.03911.65

preferences:
142.28 ms | 1386 KiB | 7 Q