3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?phpheader('Content-Type: text/plain; charset=utf-8;'); $file = file_get_contents("http://www.selfcup.com//api.php?t=m&q=berk");print_r(json_decode($file));?>

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.3.10.0100.00816.32
7.3.00.0100.00816.25
7.2.130.0090.00616.54
7.2.120.0120.00516.69
7.2.110.0110.00516.33
7.2.100.0150.00316.43
7.2.90.0130.00816.54
7.2.80.0060.00616.51
7.2.70.0050.01016.35
7.2.60.0080.00516.58
7.2.50.0150.00316.39
7.2.40.0110.00516.62
7.2.30.0100.00516.59
7.2.20.0050.01216.64
7.2.10.0100.00616.63
7.2.00.0070.00817.60
7.1.250.0080.00715.44
7.1.200.0080.00415.72
7.1.100.0110.00617.93
7.1.70.0000.00817.16
7.1.60.0040.02119.12
7.1.50.0090.01516.83
7.1.00.0030.07722.36
7.0.200.0590.00614.77
7.0.60.0030.08320.02
7.0.50.0200.06017.88
7.0.40.0070.09020.04
7.0.30.0400.06320.13
7.0.20.0200.04320.09
7.0.10.0100.07320.17
7.0.00.0000.04320.21
5.6.280.0000.03321.14
5.6.210.0130.07720.59
5.6.200.0030.04318.22
5.6.190.0130.08320.32
5.6.180.4200.04020.61
5.6.170.0270.06720.46
5.6.160.0070.04020.46
5.6.150.0070.04318.12
5.6.140.0070.05718.07
5.6.130.0070.07018.17
5.6.120.0030.04320.95
5.6.110.0100.03720.98
5.6.100.0030.07721.03
5.6.90.0100.08320.96
5.6.80.0130.06720.44
5.6.70.4530.03720.35
5.5.350.0230.03720.41
5.5.340.0030.05717.92
5.5.330.0130.07720.20
5.5.320.0230.04320.24
5.5.310.0200.03720.32
5.5.300.0170.07017.96
5.5.290.0030.08318.02
5.5.280.0030.05020.88
5.5.270.0030.04320.78
5.5.260.0070.04020.86
5.5.250.0130.07720.49
5.5.240.0270.07020.18
5.4.450.1000.06319.63
5.4.440.0600.06719.52
5.4.430.0470.06719.46
5.4.420.0570.05319.27
5.4.410.0600.06019.44
5.4.400.0670.06719.15
5.4.390.0830.06018.80
5.4.380.0200.06718.99
5.4.370.0570.05019.31
5.4.360.0630.06318.95
5.4.350.0630.06719.01
5.4.340.0700.05019.30
5.4.320.0800.06718.95
5.4.310.0570.06018.89
5.4.300.0700.04719.14
5.4.290.0630.06319.14
5.4.280.0770.05019.24
5.4.270.0630.05318.77
5.4.260.0500.05318.89
5.4.250.0570.06019.21
5.4.240.0630.05719.27
5.4.230.0630.05019.24
5.4.220.0600.08019.18
5.4.210.0730.06019.29
5.4.200.0770.06316.66
5.4.190.0530.05718.95
5.4.180.0630.07019.07
5.4.170.0730.07319.10
5.4.160.0870.03719.11
5.4.150.0500.05718.89
5.4.140.0700.04716.61
5.4.130.0570.05716.44
5.4.120.0570.05316.39
5.4.110.0870.04016.22
5.4.100.0770.04716.37
5.4.90.0630.06016.44
5.4.80.0600.06016.36
5.4.70.0670.05316.20
5.4.60.0730.05316.57
5.4.50.0700.06016.34
5.4.40.0530.07016.57
5.4.30.0570.05716.37
5.4.20.0570.06316.43
5.4.10.0670.05316.14
5.4.00.0530.05715.68
5.3.290.0670.06314.66
5.3.280.0800.05014.61
5.3.270.0830.07014.39
5.3.260.0730.07314.44
5.3.250.0730.05714.70
5.3.240.0800.07314.39
5.3.230.0800.06714.47
5.3.220.0670.07314.35
5.3.210.0970.06714.54
5.3.200.0700.07014.44
5.3.190.0800.06714.41
5.3.180.0600.06014.39
5.3.170.1030.04714.65
5.3.160.0770.04714.57
5.3.150.0930.07014.57
5.3.140.0900.06714.34
5.3.130.0730.06014.39
5.3.120.0730.06314.42
5.3.110.0730.04014.54
5.3.100.0470.05713.91
5.3.90.0500.05713.96
5.3.80.0570.06314.03
5.3.70.0830.04013.81
5.3.60.0730.05314.09
5.3.50.0730.05013.89
5.3.40.0730.05313.92
5.3.30.0830.05713.84
5.3.20.0770.05713.52
5.3.10.0770.04013.61
5.3.00.0670.04313.47
5.2.170.0470.05010.98
5.2.160.0600.05011.16
5.2.150.0570.04010.98
5.2.140.0500.04310.98
5.2.130.0570.03710.94
5.2.120.0570.05010.89
5.2.110.0630.04710.89
5.2.100.0530.04310.98
5.2.90.0500.03311.17
5.2.80.0430.04010.95
5.2.70.0430.03711.11
5.2.60.0400.04311.12
5.2.50.0630.03710.84
5.2.40.0400.04010.78
5.2.30.0370.04710.91
5.2.20.0470.03710.74
5.2.10.0470.04310.82
5.2.00.0470.03010.61
5.1.60.0270.0379.88
5.1.50.0300.0409.82
5.1.40.0470.0279.84
5.1.30.0500.04010.19
5.1.20.0400.03710.39
5.1.10.0400.03710.03
5.1.00.0470.0379.99
5.0.50.0330.0278.42
5.0.40.0130.0338.37
5.0.30.0230.0478.19
5.0.20.0230.0308.16
5.0.10.0200.0308.18
5.0.00.0070.0478.03
4.4.90.0070.0206.97
4.4.80.0100.0176.97
4.4.70.0230.0276.97
4.4.60.0330.0176.97
4.4.50.0130.0276.97
4.4.40.0200.0376.97
4.4.30.0030.0206.97
4.4.20.0030.0276.97
4.4.10.0030.0236.97
4.4.00.0070.0376.97
4.3.110.0070.0206.97
4.3.100.0130.0276.97
4.3.90.0300.0176.97
4.3.80.0170.0436.97
4.3.70.0130.0236.97
4.3.60.0000.0236.97
4.3.50.0000.0236.97
4.3.40.0070.0306.97
4.3.30.0030.0236.97
4.3.20.0130.0176.97
4.3.10.0000.0276.97
4.3.00.0070.0237.06