3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (new DateTime())->format('u');

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.0200.01098.97
7.3.0rc30.0060.01316.25
7.3.0beta10.0060.00312.68
7.3.0alpha10.0090.00012.62
7.2.60.0090.00616.95
7.2.00.0100.01319.34
7.1.200.0060.00615.77
7.1.100.0440.00716.07
7.1.70.0040.00417.15
7.1.60.0110.01419.32
7.1.50.0060.00916.90
7.1.00.0070.07322.54
7.0.200.0080.00516.77
7.0.140.0000.07722.09
7.0.60.0000.05019.88
7.0.50.0030.04317.80
7.0.40.0030.04320.40
7.0.30.0200.04020.20
7.0.20.0300.06720.16
7.0.10.0030.07020.18
7.0.00.0170.04020.04
5.6.280.0070.09321.06
5.6.210.0100.06720.48
5.6.200.0100.08018.11
5.6.190.0000.06020.57
5.6.180.0500.07020.41
5.6.170.0330.06320.71
5.6.160.0100.04020.70
5.6.150.0070.05718.11
5.6.140.0100.05718.21
5.6.130.0070.05018.21
5.6.120.0030.05020.78
5.6.110.0070.09020.98
5.6.100.0070.04021.06
5.6.90.0070.05021.10
5.6.80.0130.08020.36
5.5.350.0230.06720.43
5.5.340.0030.08717.91
5.5.330.0130.06020.41
5.5.320.0300.05720.29
5.5.310.0230.06020.32
5.5.300.0100.04017.91
5.5.290.0000.09317.91
5.5.280.0100.08720.80
5.5.270.0030.05320.89
5.5.260.0070.09020.76
5.5.250.0200.06320.58
5.5.240.0070.08320.15
5.4.450.0130.05019.41
5.4.440.0070.03019.41
5.4.430.0600.04319.25
5.4.420.0630.00019.30
5.4.410.0630.00019.52
5.4.400.0630.00019.16
5.4.390.0600.00019.18
5.4.380.0670.00018.97
5.4.370.0600.00019.18
5.4.360.0670.00019.16
5.4.350.0600.00018.98
5.4.340.0600.00019.16
5.4.320.0040.04112.45
5.4.310.0060.03812.45
5.4.300.0120.03012.46
5.4.290.0030.04112.45
5.4.280.0080.03312.35
5.4.270.0070.03912.35
5.4.260.0060.03812.35
5.4.250.0060.03812.35
5.4.240.0050.03712.35
5.4.230.0080.03512.34
5.4.220.0050.03612.34
5.4.210.0060.03412.34
5.4.200.0040.03912.34
5.4.190.0050.03712.34
5.4.180.0050.03712.34
5.4.170.0070.03412.35
5.4.160.0040.03712.35
5.4.150.0040.03812.34
5.4.140.0080.03412.03
5.4.130.0060.03512.01
5.4.120.0020.03811.97
5.4.110.0110.02911.97
5.4.100.0070.03211.97
5.4.90.0120.03111.96
5.4.80.0040.03811.96
5.4.70.0070.03411.96
5.4.60.0080.03211.96
5.4.50.0070.03411.96
5.4.40.0060.03411.95
5.4.30.0080.03311.95
5.4.20.0070.03811.94
5.4.10.0050.03611.95
5.4.00.0080.03511.44
5.3.290.0070.04012.80
5.3.280.0060.04412.71
5.3.270.0070.05412.72
5.3.260.0110.04112.72
5.3.250.0050.04312.72
5.3.240.0060.03712.72
5.3.230.0060.03712.71
5.3.220.0050.03812.68
5.3.210.0070.03712.68
5.3.200.0070.04212.68
5.3.190.0060.04912.67
5.3.180.0080.03412.67
5.3.170.0060.03812.67
5.3.160.0040.03912.68
5.3.150.0060.03712.67
5.3.140.0060.03612.66
5.3.130.0050.03912.65
5.3.120.0140.03012.66
5.3.110.0060.03812.66
5.3.100.0050.03712.12
5.3.90.0060.03512.09
5.3.80.0040.03912.07
5.3.70.0090.03312.07
5.3.60.0040.03812.06
5.3.50.0080.03412.00
5.3.40.0080.03412.00
5.3.30.0040.03711.95
5.3.20.0030.03811.73
5.3.10.0050.03511.70
5.3.00.0060.03611.68
5.2.170.0040.0319.18
5.2.160.0090.0259.18
5.2.150.0090.0269.18
5.2.140.0070.0279.18
5.2.130.0080.0259.14
5.2.120.0030.0309.14
5.2.110.0060.0289.15
5.2.100.0080.0269.14
5.2.90.0060.0399.14
5.2.80.0080.0279.14
5.2.70.0070.0289.13
5.2.60.0080.0279.09
5.2.50.0040.0309.06
5.2.40.0060.0279.04
5.2.30.0030.0319.01
5.2.20.0060.0319.01
5.2.10.0040.0318.94
5.2.00.0070.0278.78
5.1.60.0050.0228.07
5.1.50.0030.0258.06
5.1.40.0060.0228.04
5.1.30.0040.0278.39
5.1.20.0060.0258.42
5.1.10.0050.0258.14
5.1.00.0030.0278.14
5.0.50.0080.0206.62
5.0.40.0020.0226.48
5.0.30.0050.0296.29
5.0.20.0030.0256.27
5.0.10.0050.0206.24
5.0.00.0040.0316.23
4.4.90.0010.0174.78
4.4.80.0030.0154.75
4.4.70.0030.0164.76
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0050.0234.71
4.4.30.0030.0154.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0050.0134.66
4.3.100.0040.0134.66
4.3.90.0010.0164.64
4.3.80.0020.0254.58
4.3.70.0000.0174.63
4.3.60.0000.0174.62
4.3.50.0030.0154.62
4.3.40.0050.0214.54
4.3.30.0010.0173.28
4.3.20.0010.0173.26
4.3.10.0060.0133.22
4.3.00.0270.02013.54