3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php php_info(); echo time();

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.60.0060.00616.85
7.2.00.0040.00819.18
7.1.200.0090.00615.59
7.1.100.0100.00318.06
7.1.70.0080.00417.02
7.1.60.0130.01319.82
7.1.50.0040.02116.54
7.1.00.0070.06022.31
7.0.200.0030.00616.69
7.0.140.0030.07322.12
7.0.80.0370.05019.92
7.0.70.0530.04019.89
7.0.60.0070.08020.03
7.0.50.0030.05320.38
7.0.40.0030.09020.09
7.0.30.0130.06020.07
7.0.20.0170.07020.05
7.0.10.0100.07720.09
7.0.00.0130.05720.10
5.6.280.0030.07020.90
5.6.230.0070.05020.50
5.6.220.0070.08020.57
5.6.210.0130.07020.63
5.6.200.0100.08021.03
5.6.190.0070.05321.04
5.6.180.0030.08321.03
5.6.170.0100.06021.16
5.6.160.0070.08020.93
5.6.150.0070.08321.03
5.6.140.0030.05320.88
5.6.130.0030.04321.06
5.6.120.0070.07021.01
5.6.110.0100.07720.91
5.6.100.0100.07320.93
5.6.90.0030.08321.07
5.6.80.0030.05020.50
5.6.70.0170.05320.31
5.6.60.0070.04020.32
5.6.50.0000.05720.39
5.6.40.0070.08020.28
5.6.30.0070.06720.45
5.6.20.0070.07720.39
5.6.10.0100.04020.41
5.6.00.0170.07320.47
5.5.370.0000.08320.35
5.5.360.0130.05020.44
5.5.350.0070.08320.39
5.5.340.0030.08020.92
5.5.330.0030.05720.73
5.5.320.0070.07720.82
5.5.310.0070.06020.86
5.5.300.0030.06320.75
5.5.290.0070.04320.86
5.5.280.0030.09020.89
5.5.270.0030.08720.74
5.5.260.0130.07720.76
5.5.250.0030.05020.63
5.5.240.0030.05020.24
5.5.230.0070.06320.22
5.5.220.0100.07320.25
5.5.210.0170.06720.11
5.5.200.0100.07720.27
5.5.190.0130.07020.13
5.5.180.0100.08020.16
5.5.160.0100.04020.19
5.5.150.0030.04320.25
5.5.140.0000.04320.24
5.5.130.0070.04320.11
5.5.120.0200.03320.22
5.5.110.0100.03319.94
5.5.100.0100.02720.11
5.5.90.0000.04320.03
5.5.80.0030.04319.96
5.5.70.0100.03320.13
5.5.60.0000.04320.02
5.5.50.0070.02720.08
5.5.40.0030.03719.95
5.5.30.0130.04320.06
5.5.20.0030.04020.04
5.5.10.0000.03719.96
5.5.00.0070.07720.09
5.4.450.0100.08019.47
5.4.440.0130.07019.13
5.4.430.0030.08319.13
5.4.420.0070.05719.21
5.4.410.0170.07019.28
5.4.400.0130.06019.08
5.4.390.0200.06718.98
5.4.380.0070.05018.93
5.4.370.0170.07319.12
5.4.360.0070.04318.81
5.4.350.0100.06719.14
5.4.340.0100.07018.81
5.4.320.0100.07018.98
5.4.310.0030.04719.08
5.4.300.0030.03718.97
5.4.290.0000.04318.89
5.4.280.0130.04319.14
5.4.270.0100.03318.98
5.4.260.0030.04318.94
5.4.250.0000.04018.77
5.4.240.0070.05319.12
5.4.230.0030.04019.02
5.4.220.0070.03718.79
5.4.210.0070.03019.05
5.4.200.0070.03719.05
5.4.190.0070.05719.03
5.4.180.0000.04018.96
5.4.170.0070.07318.77
5.4.160.0070.06019.10
5.4.150.0030.03718.94
5.4.140.0070.04716.33
5.4.130.0000.05716.27
5.4.120.0070.03016.36
5.4.110.0000.04716.23
5.4.100.0000.03716.36
5.4.90.0070.03016.21
5.4.80.0030.03316.20
5.4.70.0070.03316.37
5.4.60.0000.03716.33
5.4.50.0070.04716.32
5.4.40.0070.05016.23
5.4.30.0000.04016.23
5.4.20.0000.05716.32
5.4.10.0070.07316.48
5.4.00.0000.03715.81
5.3.290.0030.05014.66
5.3.280.0000.04314.45
5.3.270.0170.03014.57
5.3.260.0070.04014.57
5.3.250.0070.03014.56
5.3.240.0130.03014.43
5.3.230.0000.04014.55
5.3.220.0070.04014.52
5.3.210.0000.07714.37
5.3.200.0030.03314.50
5.3.190.0070.03314.41
5.3.180.0070.03314.46
5.3.170.0030.03314.56
5.3.160.0030.05714.46
5.3.150.0130.02314.39
5.3.140.0030.04014.51
5.3.130.0000.04014.36
5.3.120.0030.04014.53
5.3.110.0000.04314.54
5.3.100.0030.04714.02
5.3.90.0000.04013.87
5.3.80.0030.03714.01
5.3.70.0000.03713.92
5.3.60.0000.04713.91
5.3.50.0030.03713.91
5.3.40.0000.04713.80
5.3.30.0070.03713.89
5.3.20.0030.03713.69
5.3.10.0000.03713.64
5.3.00.0030.03313.49
5.2.170.0000.03010.93
5.2.160.0030.05011.17
5.2.150.0000.03311.18
5.2.140.0070.02311.09
5.2.130.0000.03011.13
5.2.120.0070.03011.05
5.2.110.0000.02711.02
5.2.100.0030.02711.14
5.2.90.0000.03011.09
5.2.80.0000.03711.04
5.2.70.0000.03011.13
5.2.60.0030.02711.09
5.2.50.0000.03011.05
5.2.40.0000.03010.93
5.2.30.0000.03011.02
5.2.20.0000.03011.04
5.2.10.0000.03010.71
5.2.00.0070.02310.78
5.1.60.0030.04710.05
5.1.50.0000.0509.97
5.1.40.0000.05310.00
5.1.30.0000.03310.35
5.1.20.0000.02710.39
5.1.10.0100.04310.11
5.1.00.0030.04310.12
5.0.50.0000.0408.60
5.0.40.0100.0378.39
5.0.30.0000.0478.05
5.0.20.0000.0238.17
5.0.10.0100.0278.14
5.0.00.0070.0608.23
4.4.90.0030.0138.01
4.4.80.0000.0178.01
4.4.70.0000.0178.01
4.4.60.0030.0138.01
4.4.50.0000.0138.01
4.4.40.0000.0338.01
4.4.30.0000.0138.01
4.4.20.0000.0178.01
4.4.10.0130.0238.01
4.4.00.0000.0378.01
4.3.110.0000.0278.01
4.3.100.0030.0178.01
4.3.90.0030.0338.01
4.3.80.0030.0378.01
4.3.70.0030.0338.01
4.3.60.0030.0178.01
4.3.50.0000.0178.01
4.3.40.0000.0538.01
4.3.30.0000.0278.01
4.3.20.0000.0378.01
4.3.10.0070.0278.01
4.3.00.0000.0208.01