3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php token_get_all("<?php Versioned('Stage,Live');");

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.0040.01118.73
7.1.100.0060.00617.87
7.1.70.0000.00917.04
7.1.60.0030.02019.21
7.1.50.0000.01916.83
7.1.00.0100.06722.27
7.0.200.0090.00316.72
7.0.140.0000.07022.08
7.0.120.0070.06722.20
7.0.60.0270.07319.94
7.0.50.0030.08717.77
7.0.40.0100.06720.40
7.0.30.0200.04020.17
7.0.20.0270.03720.30
7.0.10.0070.05020.33
7.0.00.0100.07320.33
5.6.280.0070.06320.83
5.6.210.0100.07720.60
5.6.200.0000.05018.07
5.6.190.0070.04720.40
5.6.180.2870.03720.39
5.6.170.0230.06320.63
5.6.160.0070.07720.52
5.6.150.0130.04018.11
5.6.140.0030.05018.14
5.6.130.0030.09018.10
5.6.120.0170.08021.14
5.6.110.0130.07720.99
5.6.100.0100.08021.00
5.6.90.0170.07020.97
5.6.80.0100.07320.36
5.6.70.4430.03720.36
5.5.350.0070.08320.46
5.5.340.0000.04017.92
5.5.330.0130.05320.06
5.5.320.0200.06720.24
5.5.310.0270.07020.13
5.5.300.0030.08318.03
5.5.290.0170.03017.96
5.5.280.0100.03720.64
5.5.270.0100.03720.75
5.5.260.0100.07020.96
5.5.250.0100.04020.65
5.5.240.0270.03020.28
5.4.450.0100.07319.51
5.4.440.0170.07319.47
5.4.430.0030.04019.46
5.4.420.0070.03719.46
5.4.410.0100.03019.31
5.4.400.0070.04018.93
5.4.390.0000.04019.15
5.4.380.0100.04019.18
5.4.370.0130.04319.08
5.4.360.0100.04018.97
5.4.350.0030.03719.18
5.4.340.0030.04318.79
5.4.320.0000.04018.91
5.4.310.0030.03718.93
5.4.300.0070.03319.17
5.4.290.0030.03719.11
5.4.280.0100.03019.17
5.4.270.0000.04019.14
5.4.260.0030.04319.14
5.4.250.0070.03319.17
5.4.240.0030.03719.17
5.4.230.0030.03718.91
5.4.220.0000.04319.14
5.4.210.0230.03019.07
5.4.200.0030.03718.80
5.4.190.0130.04719.06
5.4.180.0100.03319.13
5.4.170.0030.05018.78
5.4.160.0070.07319.05
5.4.150.0130.05019.12
5.4.140.0070.03716.28
5.4.130.0070.05716.25
5.4.120.0030.07716.30
5.4.110.0030.07716.41
5.4.100.0130.06716.39
5.4.90.0070.07716.62
5.4.80.0030.03716.31
5.4.70.0000.04316.23
5.4.60.0100.03716.23
5.4.50.0070.06316.23
5.4.40.0100.04716.38
5.4.30.0000.05016.57
5.4.20.0070.03316.29
5.4.10.0100.07016.34
5.4.00.0000.06715.78
5.3.290.0030.03714.62
5.3.280.0030.03714.52
5.3.270.0100.03714.57
5.3.260.0100.03014.56
5.3.250.0100.06714.58
5.3.240.0030.04014.48
5.3.230.0000.05014.61
5.3.220.0100.05014.36
5.3.210.0070.07714.50
5.3.200.0030.04314.52
5.3.190.0070.05014.46
5.3.180.0030.07714.47
5.3.170.0130.07014.49
5.3.160.0030.04314.38
5.3.150.0030.05314.44
5.3.140.0070.07314.57
5.3.130.0130.05714.46
5.3.120.0030.05014.48
5.3.110.0070.07714.47
5.3.100.0100.04313.95
5.3.90.0030.07713.95
5.3.80.0030.07713.94
5.3.70.0100.06713.80
5.3.60.0070.07713.93
5.3.50.0070.07313.88
5.3.40.0070.06713.87
5.3.30.0170.05713.84
5.3.20.0100.03013.70
5.3.10.0000.05013.75
5.3.00.0100.07313.46
5.2.170.0000.04711.13
5.2.160.0070.05711.01
5.2.150.0100.05311.09
5.2.140.0100.05711.11
5.2.130.0100.06011.25
5.2.120.0070.05711.09
5.2.110.0070.06311.00
5.2.100.0130.04310.95
5.2.90.0000.03310.92
5.2.80.0000.06710.99
5.2.70.0070.06011.02
5.2.60.0070.02710.93
5.2.50.0100.04710.94
5.2.40.0100.02710.97
5.2.30.0070.06310.96
5.2.20.0070.04310.89
5.2.10.0070.06010.75
5.2.00.0070.03010.74
5.1.60.0000.0509.97
5.1.50.0100.0309.84
5.1.40.0070.0539.94
5.1.30.0070.04310.33
5.1.20.0170.04710.35
5.1.10.0030.03310.05
5.1.00.0070.0609.91
5.0.50.0070.0178.54
5.0.40.0000.0408.48
5.0.30.0070.0608.21
5.0.20.0170.0338.16
5.0.10.0000.0408.18
5.0.00.0030.0678.14
4.4.90.0030.0277.88
4.4.80.0030.0337.88
4.4.70.0100.0237.88
4.4.60.0070.0207.88
4.4.50.0000.0237.88
4.4.40.0000.0377.88
4.4.30.0030.0377.88
4.4.20.0000.0407.88
4.4.10.0000.0177.88
4.4.00.0030.0237.88
4.3.110.0100.0277.88
4.3.100.0030.0237.88
4.3.90.0100.0207.88
4.3.80.0000.0577.88
4.3.70.0000.0307.88
4.3.60.0000.0207.88
4.3.50.0000.0237.88
4.3.40.0000.0337.88
4.3.30.0000.0207.88
4.3.20.0070.0237.88
4.3.10.0000.0207.88
4.3.00.0030.0237.88