3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a[$c++]=$b[$c++];

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.0rc40.0250.01098.97
7.3.0rc30.0340.00716.59
7.2.00.0130.00919.13
7.1.100.0070.00317.91
7.1.70.0060.00616.87
7.1.60.0060.01619.61
7.1.50.0110.00716.86
7.1.00.0030.07722.40
7.0.200.0000.00716.82
7.0.140.0030.07321.95
7.0.60.0030.09019.99
7.0.50.0130.06317.79
7.0.40.0100.06720.24
7.0.30.0500.06320.12
7.0.20.0270.08020.16
7.0.10.0000.08720.16
7.0.00.0130.08320.03
5.6.280.0070.07021.09
5.6.210.0170.06020.59
5.6.200.0030.05318.17
5.6.190.0100.08320.41
5.6.180.3130.05020.67
5.6.170.0200.04020.38
5.6.160.0130.08020.54
5.6.150.0070.07318.21
5.6.140.0070.04718.08
5.6.130.0130.06318.12
5.6.120.0130.05021.13
5.6.110.0030.04320.95
5.6.100.0070.06020.98
5.6.90.0100.08321.01
5.6.80.0130.07320.39
5.6.70.2970.04020.36
5.5.350.0300.06320.36
5.5.340.0100.04017.97
5.5.330.0130.08020.14
5.5.320.0430.04320.31
5.5.310.0270.06320.27
5.5.300.0000.04317.89
5.5.290.0130.05317.97
5.5.280.0070.08720.76
5.5.270.0070.08720.86
5.5.260.0170.07720.95
5.5.250.0100.04320.48
5.5.240.0130.07320.03
5.4.450.0070.08019.13
5.4.440.0070.07719.30
5.4.430.0770.04019.43
5.4.420.1700.05319.27
5.4.410.1670.04319.34
5.4.400.1430.04018.98
5.4.390.1670.05719.11
5.4.380.1500.03719.21
5.4.370.1570.04018.98
5.4.360.1830.04719.16
5.4.350.1730.05018.84
5.4.340.1800.04018.82
5.4.320.1730.05019.16
5.4.310.1130.05018.99
5.4.300.0030.05319.21
5.4.290.0100.07018.99
5.4.280.1230.04019.00
5.4.270.1500.04019.20
5.4.260.1800.03719.14
5.4.250.1500.03719.17
5.4.240.1630.03318.99
5.4.230.1930.03719.24
5.4.220.1800.03718.68
5.4.210.1870.04018.84
5.4.200.1470.03719.12
5.4.190.1830.04719.15
5.4.180.1870.04019.04
5.4.170.0600.05319.13
5.4.160.0000.05719.19
5.4.150.0030.04019.09
5.4.140.1530.03716.54
5.4.130.1530.03316.45
5.4.120.1730.02316.40
5.4.110.1600.03316.39
5.4.100.1570.03016.48
5.4.90.1500.04016.07
5.4.80.0100.02716.44
5.4.70.0030.03316.37
5.4.60.1030.03016.21
5.4.50.1500.04016.31
5.4.40.1670.03016.44
5.4.30.1500.03716.28
5.4.20.1570.03016.41
5.4.10.1530.02716.38
5.4.00.0030.03715.91
5.3.290.0070.04314.50
5.3.280.0930.04314.68
5.3.270.1570.03314.51
5.3.260.1570.03314.55
5.3.250.1600.03314.54
5.3.240.1870.04714.49
5.3.230.1830.04314.44
5.3.220.1600.03714.41
5.3.210.1670.04014.51
5.3.200.1870.04314.41
5.3.190.1670.04014.58
5.3.180.1700.03014.43
5.3.170.0800.04314.43
5.3.160.0070.05014.65
5.3.150.0030.07014.39
5.3.140.1800.04314.40
5.3.130.1770.04314.49
5.3.120.1800.03714.40
5.3.110.1730.04014.38
5.3.100.1570.04713.98
5.3.90.1530.04013.96
5.3.80.1500.03313.89
5.3.70.1670.05013.81
5.3.60.1700.04713.95
5.3.50.1730.04713.88
5.3.40.1900.04013.79
5.3.30.0770.05013.86
5.3.20.0000.03713.48
5.3.10.0200.06313.53
5.3.00.1530.03313.43
5.2.170.1470.03710.99
5.2.160.1430.03311.05
5.2.150.1270.02711.29
5.2.140.1400.04011.05
5.2.130.1470.04010.93
5.2.120.1300.03010.98
5.2.110.1500.03311.11
5.2.100.1400.03011.03
5.2.90.1300.03311.18
5.2.80.1270.03010.93
5.2.70.1300.03011.10
5.2.60.1370.02711.13
5.2.50.0970.02710.95
5.2.40.0000.03311.00
5.2.30.0000.06311.00
5.2.20.0070.04010.84
5.2.10.0400.03310.82
5.2.00.1200.03310.68
5.1.60.1230.0339.92
5.1.50.1230.03010.07
5.1.40.1230.0309.95
5.1.30.1170.03310.34
5.1.20.1070.03010.36
5.1.10.1230.03010.23
5.1.00.0970.0279.95
5.0.50.0700.0238.41
5.0.40.0500.0208.49
5.0.30.0530.0378.34
5.0.20.0630.0278.27
5.0.10.0670.0308.09
5.0.00.0570.0338.23
4.4.90.0470.0177.84
4.4.80.0670.0237.84
4.4.70.0670.0237.84
4.4.60.0330.0207.84
4.4.50.0030.0177.84
4.4.40.0030.0537.84
4.4.30.0030.0307.84
4.4.20.0000.0207.84
4.4.10.0030.0307.84
4.4.00.0070.0407.84
4.3.110.0000.0307.84
4.3.100.0230.0307.84
4.3.90.0670.0277.84
4.3.80.0600.0407.84
4.3.70.0700.0107.84
4.3.60.0630.0277.84
4.3.50.0670.0237.84
4.3.40.0470.0277.84
4.3.30.0270.0137.84
4.3.20.0230.0177.84
4.3.10.0330.0137.84
4.3.00.0230.0177.84