3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('F',strtotime("last February"));

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.0220.00352.38
7.3.0rc30.0350.00416.23
7.3.0beta10.0000.00912.82
7.3.0alpha10.0070.00012.88
7.2.60.0110.00416.82
7.2.00.0040.00819.32
7.1.200.0030.01115.92
7.1.100.0000.01217.90
7.1.70.0040.00816.82
7.1.60.0070.01719.21
7.1.50.0100.01316.70
7.1.00.0030.03722.41
7.0.200.0000.00716.99
7.0.140.0000.07722.11
7.0.120.0070.07022.26
7.0.100.0530.05719.98
7.0.90.0170.08019.91
7.0.80.0130.08019.84
7.0.70.0070.04719.88
7.0.60.0070.06319.93
7.0.50.0130.04320.31
7.0.40.0100.09020.11
7.0.30.0070.06020.11
7.0.20.0100.04320.13
7.0.10.0170.07320.14
7.0.00.0130.04720.07
5.6.280.0070.07021.06
5.6.250.0070.08320.77
5.6.240.0000.05720.53
5.6.230.0030.09320.60
5.6.220.0030.08020.57
5.6.210.0100.08020.48
5.6.200.0070.08321.03
5.6.190.0030.06721.11
5.6.180.0030.09321.11
5.6.170.0070.06321.13
5.6.160.0100.07321.13
5.6.150.0100.07721.04
5.6.140.0130.08021.01
5.6.130.0070.04720.95
5.6.120.0100.04321.04
5.6.110.0100.06721.09
5.6.100.0030.07021.01
5.6.90.0100.08721.14
5.6.80.0070.07320.36
5.6.70.0030.08320.48
5.6.60.0100.05320.48
5.6.50.0030.07720.43
5.6.40.0070.07720.35
5.6.30.0000.05320.48
5.6.20.0030.07320.36
5.6.10.0130.06320.37
5.6.00.0130.06320.27
5.5.380.0070.07320.43
5.5.370.0070.08020.34
5.5.360.0030.07020.35
5.5.350.0070.08320.36
5.5.340.0130.08020.68
5.5.330.0100.08020.89
5.5.320.0070.04720.89
5.5.310.0030.08320.81
5.5.300.0000.08720.78
5.5.290.0070.06720.91
5.5.280.0070.05720.79
5.5.270.0130.08020.80
5.5.260.0070.09020.90
5.5.250.0000.08720.58
5.5.240.0100.03320.26
5.5.230.0070.08720.14
5.5.220.0030.06320.13
5.5.210.0070.08020.27
5.5.200.0100.08020.20
5.5.190.0100.07720.07
5.5.180.0030.04720.21
5.5.160.0130.04320.26
5.5.150.0130.07320.21
5.5.140.0070.06020.14
5.5.130.0070.06320.17
5.5.120.0130.06720.13
5.5.110.0100.07720.14
5.5.100.0070.07320.07
5.5.90.0130.04320.06
5.5.80.0000.08320.05
5.5.70.0030.06020.08
5.5.60.0170.06320.09
5.5.50.0170.07020.08
5.5.40.0030.06020.08
5.5.30.0070.07019.98
5.5.20.0100.08020.14
5.5.10.0030.06720.02
5.5.00.0030.06319.99
5.4.450.0100.08019.38
5.4.440.0070.04719.29
5.4.430.0000.08319.10
5.4.420.0100.07319.44
5.4.410.0170.05018.98
5.4.400.0130.06719.10
5.4.390.0130.07319.06
5.4.380.0030.07719.07
5.4.370.0100.08019.02
5.4.360.0070.08019.05
5.4.350.0100.07719.14
5.4.340.0100.07319.23
5.4.320.0100.07719.05
5.4.310.0070.07319.06
5.4.300.0030.04019.02
5.4.290.0030.04019.05
5.4.280.0100.06319.03
5.4.270.0070.06019.23
5.4.260.0100.07318.79
5.4.250.0170.03318.93
5.4.240.0100.07319.00
5.4.230.0130.06019.13
5.4.220.0130.07319.18
5.4.210.0100.04319.02
5.4.200.0170.06719.05
5.4.190.0070.08019.11
5.4.180.0130.06719.09
5.4.170.0030.07318.93
5.4.160.0030.04019.02
5.4.150.0170.07019.09
5.4.140.0130.06016.12
5.4.130.0100.06016.39
5.4.120.0100.06016.11
5.4.110.0070.08016.31
5.4.100.0130.04716.36
5.4.90.0100.07016.31
5.4.80.0070.07716.42
5.4.70.0070.07016.40
5.4.60.0100.07016.40
5.4.50.0000.06716.27
5.4.40.0130.06716.39
5.4.30.0030.05016.19
5.4.20.0100.07016.40
5.4.10.0070.05716.33
5.4.00.0100.07315.78
5.3.290.0100.06014.64
5.3.280.0100.07314.54
5.3.270.0170.06314.56
5.3.260.0100.07714.58
5.3.250.0030.06714.54
5.3.240.0030.07714.41
5.3.230.0070.06314.57
5.3.220.0100.07014.39
5.3.210.0070.06714.54
5.3.200.0070.04014.55
5.3.190.0030.07314.56
5.3.180.0000.08014.41
5.3.170.0100.07014.54
5.3.160.0030.08014.54
5.3.150.0070.07714.41
5.3.140.0070.07014.54
5.3.130.0030.08014.39
5.3.120.0100.07714.49
5.3.110.0070.07714.52
5.3.100.0030.04313.89
5.3.90.0070.07013.95
5.3.80.0100.07013.87
5.3.70.0130.06313.97
5.3.60.0100.06713.97
5.3.50.0100.06713.92
5.3.40.0030.06313.90
5.3.30.0070.06013.76
5.3.20.0200.04013.67
5.3.10.0100.06713.62
5.3.00.0130.06313.40
5.2.170.0030.04711.10
5.2.160.0070.05310.93
5.2.150.0070.06311.16
5.2.140.0170.05711.08
5.2.130.0130.05311.14
5.2.120.0030.06310.89
5.2.110.0070.03011.14
5.2.100.0070.05011.11
5.2.90.0000.04311.02
5.2.80.0030.05310.96
5.2.70.0030.03710.95
5.2.60.0000.06710.91
5.2.50.0030.03311.06
5.2.40.0070.05310.85
5.2.30.0070.06010.79
5.2.20.0030.03310.81
5.2.10.0070.05710.89
5.2.00.0030.05710.66
5.1.60.0000.05010.66
5.1.50.0030.04710.66
5.1.40.0070.03710.66
5.1.30.0070.05710.66
5.1.20.0130.04710.66
5.1.10.0070.04710.66
5.1.00.0030.04310.66
5.0.50.0000.03710.66
5.0.40.0030.03310.66
5.0.30.0030.04310.66
5.0.20.0000.04710.66
5.0.10.0030.02310.66
5.0.00.0000.06710.66
4.4.90.0030.01710.66
4.4.80.0030.03310.66
4.4.70.0070.03010.66
4.4.60.0030.02710.66
4.4.50.0030.02010.66
4.4.40.0030.05010.66
4.4.30.0000.03710.66
4.4.20.0070.03010.66
4.4.10.0070.03010.66
4.4.00.0000.05710.66
4.3.110.0000.02310.66
4.3.100.0000.02010.66
4.3.90.0000.02010.66
4.3.80.0030.04010.66
4.3.70.0030.03310.66
4.3.60.0000.03710.66
4.3.50.0070.01310.66
4.3.40.0000.05310.66
4.3.30.0030.03310.66
4.3.20.0030.03010.66
4.3.10.0000.01710.66
4.3.00.0000.03310.66