3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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); echo $sxml; ?>

Here you find the average performance (time & memory) of each version. A greyed 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.3.0alpha10.0030.00912.80
7.2.60.0030.00817.17
7.2.00.0000.01119.67
7.1.100.0040.00818.54
7.1.70.0070.00417.30
7.1.60.0140.01019.40
7.1.50.0110.01117.47
7.1.00.0100.07022.87
7.0.200.0080.00517.15
7.0.140.0030.07722.71
7.0.120.0030.06722.46
7.0.60.0030.04020.45
7.0.50.0030.07018.17
7.0.40.0330.07320.54
7.0.30.0300.07320.47
7.0.20.0370.06020.57
7.0.10.0170.08020.48
7.0.00.0230.04720.57
5.6.280.0070.07321.27
5.6.210.0070.06721.14
5.6.200.0070.05018.53
5.6.190.0300.07320.98
5.6.180.0370.07320.91
5.6.170.0370.07020.93
5.6.160.0300.08020.88
5.6.150.0300.04720.73
5.6.140.0370.04020.75
5.6.130.0300.04320.71
5.6.120.0270.04720.86
5.6.110.0200.04020.63
5.6.100.0170.05020.90
5.6.90.0400.07320.63
5.6.80.0330.05020.04
5.6.70.0400.06720.13
5.6.60.0430.07320.08
5.6.50.0370.07020.08
5.6.40.0300.04720.06
5.6.30.0200.06020.12
5.6.20.0230.05020.00
5.6.10.0430.06320.04
5.6.00.0300.04720.06
5.5.350.0130.05720.86
5.5.340.0100.05718.29
5.5.330.0270.07020.68
5.5.320.0270.05020.68
5.5.310.0400.04020.70
5.5.300.0400.04020.46
5.5.290.0230.04020.44
5.5.280.0230.07020.53
5.5.270.0330.06720.43
5.5.260.0430.04020.54
5.5.250.0400.06020.18
5.5.240.0270.04719.91
5.5.230.0370.07019.90
5.5.220.0300.07019.82
5.5.210.0300.04019.87
5.5.200.0430.07019.88
5.5.190.0300.04719.87
5.5.180.0230.05019.88
5.5.160.0270.03719.84
5.5.150.0430.04719.86
5.5.140.0570.05319.86
5.5.130.0500.05719.83
5.5.120.0430.05319.86
5.5.110.0300.06719.82
5.5.100.0370.05019.74
5.5.90.0300.07319.73
5.5.80.0270.04319.80
5.5.70.0230.04019.74
5.5.60.0300.07019.68
5.5.50.0230.04019.72
5.5.40.0170.04319.68
5.5.30.0330.07019.75
5.5.20.0230.04319.78
5.5.10.0300.07319.79
5.5.00.0370.06019.89
5.4.450.0330.06319.94
5.4.440.0100.04719.70
5.4.430.0300.06019.70
5.4.420.0300.03319.76
5.4.410.0330.03019.58
5.4.400.0300.03719.43
5.4.390.0370.07019.57
5.4.380.0330.05719.45
5.4.370.0330.06319.60
5.4.360.0370.07019.35
5.4.350.0370.05719.37
5.4.340.0300.06719.49
5.4.320.0430.04319.34
5.4.310.0470.05719.45
5.4.300.0370.04319.44
5.4.290.0470.05719.44
5.4.280.0370.05319.45
5.4.270.0400.05319.35
5.4.260.0270.04019.40
5.4.250.0230.04019.35
5.4.240.0300.07019.46
5.4.230.0230.04319.43
5.4.220.0270.07719.36
5.4.210.0230.03719.46
5.4.200.0270.04319.42
5.4.190.0300.07019.39
5.4.180.0200.04319.43
5.4.170.0270.04319.39
5.4.160.0370.06719.51
5.4.150.0300.06719.35
5.4.140.0270.03316.82
5.4.130.0270.03016.67
5.4.120.0330.03316.77
5.4.110.0200.04016.84
5.4.100.0300.04316.77
5.4.90.0330.04016.77
5.4.80.0200.03716.92
5.4.70.0230.06316.75
5.4.60.0300.07016.71
5.4.50.0270.07316.82
5.4.40.0370.06016.74
5.4.30.0400.05716.90
5.4.20.0430.06316.89
5.4.10.0330.06316.79
5.4.00.0430.06016.36
5.3.290.0200.04314.92
5.3.280.0300.03014.90
5.3.270.0330.06314.92
5.3.260.0430.06314.88
5.3.250.0330.06315.03
5.3.240.0230.03714.92
5.3.230.0230.05314.90
5.3.220.0270.06314.83
5.3.210.0200.04014.83
5.3.200.0230.04014.79
5.3.190.0230.04014.85
5.3.180.0200.04014.86
5.3.170.0230.03714.78
5.3.160.0470.06014.83
5.3.150.0270.06714.77
5.3.140.0370.06314.86
5.3.130.0430.05714.86
5.3.120.0330.04314.85
5.3.110.0270.06014.83
5.3.100.0270.04314.17
5.3.90.0270.04314.23
5.3.80.0330.03314.24
5.3.70.0300.03314.25
5.3.60.0400.05714.42
5.3.50.0300.04714.18
5.3.40.0330.06714.20
5.3.30.0270.05314.33
5.3.20.0430.06014.00
5.3.10.0300.06313.96
5.3.00.0270.05313.95
5.2.170.0370.05311.47
5.2.160.0300.02711.37
5.2.150.0370.05011.38
5.2.140.0270.03011.33
5.2.130.0270.04311.39
5.2.120.0330.03011.33
5.2.110.0400.04711.33
5.2.100.0300.03011.33
5.2.90.0300.04011.41
5.2.80.0270.04311.37
5.2.70.0300.03011.42
5.2.60.0270.03011.29
5.2.50.0200.04311.28
5.2.40.0200.04311.22
5.2.30.0230.04311.30
5.2.20.0230.03011.07
5.2.10.0230.02711.17
5.2.00.0230.03310.95
5.1.60.0270.02310.27
5.1.50.0230.04310.32
5.1.40.0230.03710.43
5.1.30.0230.05710.53
5.1.20.0270.03310.64
5.1.10.0270.02710.45
5.1.00.0270.05310.36
5.0.50.0200.0408.77
5.0.40.0200.0408.71
5.0.30.0170.0408.58
5.0.20.0170.0408.42
5.0.10.0170.0408.56
5.0.00.0170.0338.38
4.4.90.0100.0175.88
4.4.80.0100.0175.89
4.4.70.0100.0175.96
4.4.60.0070.0205.96
4.4.50.0070.0235.96
4.4.40.0100.0236.00
4.4.30.0130.0236.02
4.4.20.0130.0376.06
4.4.10.0200.0276.09
4.4.00.0170.0506.13
4.3.110.0130.0276.13
4.3.100.0230.0136.18
4.3.90.0100.0236.19
4.3.80.0100.0506.24
4.3.70.0130.0236.24
4.3.60.0100.0206.24
4.3.50.0130.0206.26
4.3.40.0170.0476.27
4.3.30.0100.0236.27
4.3.20.0100.0336.27
4.3.10.0070.0276.27
4.3.00.0030.0276.28