3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(new DateTime("now +7 g"));

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.0430.01198.97
7.3.0rc30.0190.00416.46
7.3.0beta10.0000.01012.63
7.3.0alpha10.0100.00012.33
7.2.60.0110.00016.70
7.1.200.0090.00315.81
7.1.100.0030.00918.02
7.1.70.0070.00716.92
7.1.60.0100.01419.82
7.1.50.0060.01617.14
7.1.00.0030.07722.51
7.0.200.0050.00516.76
7.0.140.0030.07322.07
7.0.100.0130.07319.96
7.0.90.0300.04719.84
7.0.80.0030.05320.02
7.0.70.0300.07719.88
7.0.60.0200.03319.85
7.0.50.0170.04020.23
7.0.40.0030.04020.00
7.0.30.0070.04020.04
7.0.20.0170.05020.05
7.0.10.0130.03320.17
7.0.00.0030.08720.07
5.6.280.0000.07721.14
5.6.250.0030.07320.59
5.6.240.0070.04720.69
5.6.230.0170.05320.62
5.6.220.0100.06720.67
5.6.210.0030.04320.48
5.6.200.0070.08721.13
5.6.190.0100.03721.00
5.6.180.0130.07721.03
5.6.170.0070.03721.05
5.6.160.0130.07321.04
5.6.150.0130.08021.01
5.6.140.0070.04321.13
5.6.130.0100.03721.12
5.6.120.0130.07721.10
5.6.110.0100.07721.15
5.6.100.0100.07321.02
5.6.90.0100.04321.00
5.6.80.0070.03320.45
5.6.70.0070.04720.48
5.6.60.0070.04720.27
5.6.50.0100.07020.31
5.6.40.0070.05020.36
5.6.30.0030.07320.39
5.6.20.0170.06020.40
5.6.10.0270.06020.40
5.6.00.0200.03020.37
5.5.380.0030.08320.41
5.5.370.0030.06020.37
5.5.360.0130.06020.48
5.5.350.0070.04020.46
5.5.340.0130.07320.91
5.5.330.0100.08020.77
5.5.320.0130.03320.72
5.5.310.0100.05720.71
5.5.300.0100.05720.63
5.5.290.0070.07020.88
5.5.280.0070.07320.82
5.5.270.0030.09020.91
5.5.260.0030.08320.63
5.5.250.0030.06720.72
5.5.240.0130.06720.15
5.5.230.0030.04320.26
5.5.220.0070.05320.17
5.5.210.0030.08720.21
5.5.200.0100.05719.98
5.5.190.0100.04020.14
5.5.180.0100.05020.26
5.5.160.0000.07720.25
5.5.150.0070.06720.23
5.5.140.0030.05720.07
5.5.130.0170.05320.16
5.5.120.0100.03320.16
5.5.110.0070.04020.10
5.5.100.0130.06720.13
5.5.90.0130.07020.00
5.5.80.0030.05320.06
5.5.70.0170.06020.03
5.5.60.0070.03320.07
5.5.50.0130.07019.95
5.5.40.0100.02720.05
5.5.30.0130.03020.12
5.5.20.0070.07320.13
5.5.10.0030.04319.95
5.5.00.0070.08320.04
5.4.450.0100.08019.30
5.4.440.0130.04019.36
5.4.430.0070.06319.48
5.4.420.0070.07319.28
5.4.410.0100.03019.34
5.4.400.0100.04019.10
5.4.390.0000.04319.05
5.4.380.0170.06718.98
5.4.370.0030.03719.03
5.4.360.0170.07019.04
5.4.350.0030.04019.05
5.4.340.0070.04019.13
5.4.320.0170.06018.78
5.4.310.0070.04318.95
5.4.300.0070.07718.81
5.4.290.0070.06718.96
5.4.280.0130.04718.96
5.4.270.0000.06318.81
5.4.260.0100.05319.09
5.4.250.0030.04719.07
5.4.240.0100.06719.04
5.4.230.0100.07019.13
5.4.220.0030.06319.09
5.4.210.0000.06718.78
5.4.200.0100.07018.78
5.4.190.0030.04719.03
5.4.180.0030.06719.04
5.4.170.0070.07019.13
5.4.160.0100.03319.00
5.4.150.0100.04019.00
5.4.140.0070.07716.31
5.4.130.0070.07716.39
5.4.120.0030.06716.41
5.4.110.0030.05716.33
5.4.100.0100.05716.31
5.4.90.0030.03716.41
5.4.80.0100.07016.46
5.4.70.0100.02316.25
5.4.60.0000.07716.33
5.4.50.0130.05316.23
5.4.40.0030.06016.37
5.4.30.0000.06716.18
5.4.20.0030.03716.41
5.4.10.0000.04016.18
5.4.00.0030.03315.70
5.3.290.0030.06014.64
5.3.280.0070.07714.54
5.3.270.0100.02714.51
5.3.260.0200.07014.45
5.3.250.0070.07714.46
5.3.240.0100.06014.59
5.3.230.0070.04714.55
5.3.220.0100.07314.54
5.3.210.0000.04014.56
5.3.200.0000.04314.54
5.3.190.0030.04014.47
5.3.180.0100.07314.50
5.3.170.0100.06714.48
5.3.160.0070.05314.53
5.3.150.0100.08314.41
5.3.140.0100.06714.48
5.3.130.0000.07014.49
5.3.120.0070.06714.36
5.3.110.0000.04314.52
5.3.100.0000.03713.96
5.3.90.0070.03313.87
5.3.80.0030.03014.00
5.3.70.0000.04014.00
5.3.60.0000.04013.99
5.3.50.0070.03313.71
5.3.40.0000.04013.92
5.3.30.0030.03313.86
5.3.20.0000.03313.63
5.3.10.0030.03013.59
5.3.00.0070.02713.59
5.2.170.0000.03011.14
5.2.160.0000.02711.13
5.2.150.0100.02711.13
5.2.140.0000.03011.19
5.2.130.0070.02011.01
5.2.120.0030.03011.02
5.2.110.0030.02711.08
5.2.100.0030.02311.01
5.2.90.0000.02710.89
5.2.80.0000.03311.16
5.2.70.0030.02310.88
5.2.60.0030.04310.96
5.2.50.0030.02311.05
5.2.40.0070.02011.04
5.2.30.0000.03010.91
5.2.20.0070.02311.02
5.2.10.0000.02310.93
5.2.00.0030.02310.79
5.1.60.0030.01710.01
5.1.50.0000.0239.82
5.1.40.0000.0279.97
5.1.30.0070.01710.34
5.1.20.0000.02310.39
5.1.10.0030.0239.89
5.1.00.0030.0509.94
5.0.50.0000.0208.56
5.0.40.0000.0208.46
5.0.30.0070.0208.26
5.0.20.0000.0178.17
5.0.10.0030.0138.27
5.0.00.0030.0238.23
4.4.90.0000.0138.07
4.4.80.0000.0178.07
4.4.70.0000.0138.07
4.4.60.0030.0138.07
4.4.50.0000.0138.07
4.4.40.0030.0178.07
4.4.30.0000.0138.07
4.4.20.0030.0108.07
4.4.10.0000.0138.07
4.4.00.0000.0238.07
4.3.110.0000.0138.07
4.3.100.0000.0138.07
4.3.90.0000.0138.07
4.3.80.0000.0208.07
4.3.70.0000.0138.07
4.3.60.0000.0138.07
4.3.50.0000.0138.07
4.3.40.0000.0238.07
4.3.30.0000.0138.07
4.3.20.0000.0138.07
4.3.10.0030.0138.07
4.3.00.0030.0108.07