3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $siteName = 'Jenny@UK News'; // YQL query (SELECT * from feed ... ) // Split for readability $path = "http://query.yahooapis.com/v1/public/yql?q="; $path .= urlencode("SELECT * FROM feed WHERE url='http://jennyuknews.tumblr.com/rss'"); $path .= "&format=json"; // Call YQL, and if the query didn't fail, cache the returned data $feed = file_get_contents($path); // Decode that shizzle $feed = json_decode($feed);

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0050.00217.27
7.2.00.0000.01319.57
7.1.200.0200.00315.41
7.1.100.0060.00618.60
7.1.70.0000.00817.27
7.1.60.0070.01819.40
7.1.50.0090.01817.29
7.1.00.0030.05722.63
7.0.200.0250.01015.25
7.0.140.0030.07722.56
7.0.120.0070.06022.34
7.0.60.0070.06020.31
7.0.50.0030.04718.22
7.0.40.0130.08020.46
7.0.30.0270.04020.50
7.0.20.0170.04320.51
7.0.10.0330.07320.45
7.0.00.0070.05320.51
5.6.280.0030.07721.33
5.6.210.0030.05320.75
5.6.200.0070.04318.58
5.6.190.0030.09021.02
5.6.180.0330.07721.04
5.6.170.0270.04320.87
5.6.160.0100.08020.93
5.6.150.0070.06318.65
5.6.140.0130.05718.44
5.6.130.0170.05018.55
5.6.120.0100.04721.38
5.6.110.0030.06721.41
5.6.100.0100.08021.40
5.6.90.0030.04021.26
5.6.80.0100.06020.89
5.6.70.4400.04020.74
5.5.350.0330.07020.69
5.5.340.0100.03318.20
5.5.330.0070.05720.91
5.5.320.0300.07320.87
5.5.310.0330.06720.57
5.5.300.0070.07718.22
5.5.290.0070.03718.18
5.5.280.0100.07321.24
5.5.270.0070.04021.29
5.5.260.0030.07721.18
5.5.250.0130.07721.10
5.5.240.0070.08020.44
5.4.450.0170.07020.08
5.4.440.0070.04720.06
5.4.430.0100.04319.98
5.4.420.0030.05020.15
5.4.410.0070.07719.76
5.4.400.0000.04719.59
5.4.390.0030.05719.83
5.4.380.0030.05719.71
5.4.370.0000.04319.46
5.4.360.0030.07019.61
5.4.350.0030.07319.68
5.4.340.0070.08019.59
5.4.320.0100.04319.53
5.4.310.0030.04019.65
5.4.300.0070.06719.43
5.4.290.0100.05019.53
5.4.280.0100.04719.83
5.4.270.0070.05319.58
5.4.260.0070.03719.48
5.4.250.0130.04019.68
5.4.240.0030.04719.65
5.4.230.0130.03019.68
5.4.220.0070.03719.50
5.4.210.0130.04719.64
5.4.200.0100.04319.55
5.4.190.0170.04719.47
5.4.180.0170.06719.57
5.4.170.0030.08019.73
5.4.160.0100.07319.65
5.4.150.0130.04719.59
5.4.140.0030.04717.11
5.4.130.0100.07017.07
5.4.120.0070.07717.07
5.4.110.0130.06317.05
5.4.100.0100.06717.05
5.4.90.0100.06317.01
5.4.80.0070.07017.10
5.4.70.0070.06017.22
5.4.60.0030.08317.09
5.4.50.0100.07016.85
5.4.40.0030.06317.05
5.4.30.0070.07316.98
5.4.20.0030.04317.11
5.4.10.0070.07317.20
5.4.00.0130.06316.41
5.3.290.0030.04715.00
5.3.280.0100.03315.00
5.3.270.0000.05314.92
5.3.260.0070.07714.96
5.3.250.0100.07315.07
5.3.240.0000.08014.96
5.3.230.0100.07315.05
5.3.220.0130.06015.00
5.3.210.0100.05714.94
5.3.200.0170.05314.95
5.3.190.0100.04314.97
5.3.180.0100.06015.02
5.3.170.0070.04714.88
5.3.160.0130.06714.97
5.3.150.0100.07314.96
5.3.140.0100.06314.88
5.3.130.0130.04314.96
5.3.120.0030.06014.93
5.3.110.0070.03714.86
5.3.100.0070.06014.35
5.3.90.0070.06314.48
5.3.80.0030.07014.25
5.3.70.0070.05314.45
5.3.60.0000.05014.45
5.3.50.0130.05314.38
5.3.40.0100.06714.36
5.3.30.0030.07314.32
5.3.20.0100.06714.11
5.3.10.0100.05013.97
5.3.00.0070.04013.96
5.2.170.0030.04011.61
5.2.160.0170.05311.49
5.2.150.0030.04711.45
5.2.140.0070.06711.44
5.2.130.0030.04011.54
5.2.120.0030.05311.52
5.2.110.0070.06011.48
5.2.100.0030.06311.46
5.2.90.0070.06311.54
5.2.80.0000.07011.40
5.2.70.0000.06711.49
5.2.60.0030.03311.48
5.2.50.0100.04711.34
5.2.40.0070.02711.29
5.2.30.0170.05311.28
5.2.20.0070.05711.32
5.2.10.0000.03711.25
5.2.00.0030.06711.14
5.1.60.0000.05310.35
5.1.50.0070.05310.42
5.1.40.0000.06010.29
5.1.30.0030.03310.73
5.1.20.0100.05010.75
5.1.10.0000.02710.44
5.1.00.0000.05010.49
5.0.50.0030.0278.98
5.0.40.0000.0278.88
5.0.30.0100.0538.64
5.0.20.0030.0438.50
5.0.10.0070.0408.54
5.0.00.0070.0638.59
4.4.90.0030.0307.43
4.4.80.0070.0337.43
4.4.70.0000.0377.43
4.4.60.0100.0207.43
4.4.50.0070.0177.43
4.4.40.0000.0507.43
4.4.30.0030.0337.43
4.4.20.0000.0177.43
4.4.10.0000.0177.43
4.4.00.0030.0237.43
4.3.110.0000.0337.43
4.3.100.0070.0337.43
4.3.90.0070.0377.43
4.3.80.0030.0437.43
4.3.70.0030.0207.43
4.3.60.0070.0307.43
4.3.50.0030.0207.43
4.3.40.0030.0537.43
4.3.30.0030.0337.43
4.3.20.0000.0177.43
4.3.10.0030.0207.43
4.3.00.0030.0407.43