3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $letters = range("a", "z");
based on V0XEZ

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.00.0030.01018.71
7.1.100.0000.01517.98
7.1.70.0060.00317.07
7.1.60.0000.01419.50
7.1.50.0000.01116.85
7.1.00.0030.07722.30
7.0.200.0600.00914.70
7.0.140.0070.07022.00
7.0.60.0100.05719.92
7.0.50.0030.06317.73
7.0.40.0030.08020.23
7.0.30.0270.08020.13
7.0.20.0400.05720.20
7.0.10.0200.08320.00
7.0.00.0100.08320.18
5.6.280.0030.07321.12
5.6.210.0200.06320.70
5.6.200.0070.03718.09
5.6.190.0030.04320.63
5.6.180.0400.05020.23
5.6.170.0200.05320.48
5.6.160.0100.07720.52
5.6.150.0070.08018.21
5.6.140.0030.04018.18
5.6.130.0130.07718.19
5.6.120.0070.05721.01
5.6.110.0070.08720.97
5.6.100.0070.07721.06
5.6.90.0100.07720.96
5.6.80.0000.07320.38
5.6.70.0200.06320.51
5.5.350.0370.06020.29
5.5.340.0070.05017.97
5.5.330.0100.06020.45
5.5.320.0070.08720.07
5.5.310.0230.06020.17
5.5.300.0030.04017.98
5.5.290.0070.07318.00
5.5.280.0000.04320.68
5.5.270.0070.04020.73
5.5.260.0000.05720.77
5.5.250.0100.07320.68
5.5.240.0100.05320.18
5.4.450.0300.05319.41
5.4.440.0830.04719.41
5.4.430.1100.05719.43
5.4.420.0300.06319.55
5.4.410.0130.07318.79
5.4.400.1200.06318.53
5.4.390.0870.06318.58
5.4.380.1030.05718.68
5.4.370.1130.06318.56
5.4.360.1070.05018.68
5.4.350.0870.05318.59
5.4.340.0900.06718.70
5.4.320.1370.08018.65
5.4.310.1370.07718.67
5.4.300.1170.07018.48
5.4.290.1270.06018.70
5.4.280.1170.06318.52
5.4.270.1200.06018.48
5.4.260.1300.05318.68
5.4.250.1400.08018.46
5.4.240.1370.06718.64
5.4.230.1270.08318.63
5.4.220.1170.06718.47
5.4.210.1070.05718.70
5.4.200.1270.05016.48
5.4.190.0930.06318.64
5.4.180.1330.05018.68
5.4.170.0970.07718.68
5.4.160.1200.06718.66
5.4.150.0100.07718.54
5.4.140.0730.06016.25
5.4.130.0830.07316.20
5.4.120.1070.06016.29
5.4.110.1170.05316.26
5.4.100.1070.05316.20
5.4.90.1170.06316.13
5.4.80.1130.07716.15
5.4.70.1030.06016.02
5.4.60.1000.06016.15
5.4.50.1200.07316.05
5.4.40.0930.06316.21
5.4.30.0970.06316.17
5.4.20.1070.06016.19
5.4.10.1230.06316.31
5.4.00.1130.06015.77
5.3.290.1170.06714.66
5.3.280.1530.06714.63
5.3.270.1270.05714.55
5.3.260.1170.06314.59
5.3.250.1130.06714.61
5.3.240.1230.06314.57
5.3.230.0970.06014.50
5.3.220.1300.04314.66
5.3.210.1330.07014.64
5.3.200.1100.06714.50
5.3.190.0930.04714.54
5.3.180.1230.07014.49
5.3.170.1470.06714.55
5.3.160.1200.06714.47
5.3.150.1130.06014.64
5.3.140.1430.06014.48
5.3.130.1100.06314.55
5.3.120.1130.07014.50
5.3.110.1230.05314.59
5.3.100.1170.05713.95
5.3.90.1100.06014.12
5.3.80.1200.05314.11
5.3.70.1330.03713.91
5.3.60.1200.05013.95
5.3.50.1330.04713.85
5.3.40.1130.05713.93
5.3.30.1400.06313.80
5.3.20.1030.05313.65
5.3.10.1330.04013.75
5.3.00.1230.05713.59
5.2.170.1000.05011.07
5.2.160.1170.05011.11
5.2.150.1030.05311.28
5.2.140.0930.05711.17
5.2.130.1100.03711.06
5.2.120.0970.05311.08
5.2.110.1170.05011.13
5.2.100.0970.04711.04
5.2.90.1070.04711.16
5.2.80.1170.03711.10
5.2.70.1030.03711.10
5.2.60.1000.04311.05
5.2.50.0970.04711.05
5.2.40.0870.03711.04
5.2.30.0770.04310.95
5.2.20.0730.04310.92
5.2.10.0900.03310.85
5.2.00.0900.05310.83
5.1.60.0830.05310.09
5.1.50.0870.05010.13
5.1.40.0700.0479.99
5.1.30.0800.03710.48
5.1.20.0900.04010.49
5.1.10.0870.03710.19
5.1.00.0800.04010.04
5.0.50.0430.0238.56
5.0.40.0430.0338.42
5.0.30.0370.0408.25
5.0.20.0370.0378.38
5.0.10.0300.0338.23
5.0.00.0370.0478.18
4.4.90.0470.0275.92
4.4.80.0530.0275.94
4.4.70.0430.0305.84
4.4.60.0530.0235.91
4.4.50.0330.0235.82
4.4.40.0230.0405.84
4.4.30.0300.0235.89
4.4.20.0470.0275.87
4.4.10.0370.0275.98
4.4.00.0470.0335.84
4.3.110.0330.0275.85
4.3.100.0400.0235.76
4.3.90.0300.0205.79
4.3.80.0270.0375.79
4.3.70.0230.0275.86
4.3.60.0300.0235.89
4.3.50.0370.0275.82
4.3.40.0370.0335.74
4.3.30.0200.0304.55
4.3.20.0300.0204.56
4.3.10.0230.0234.61
4.3.00.0130.0276.91