3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('d-m-Y H');
based on kl5t8

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.0070.01016.84
7.2.00.0120.00419.22
7.1.200.0000.01415.66
7.1.100.0070.00718.18
7.1.70.0000.00716.83
7.1.60.0100.01019.12
7.1.50.0030.00816.93
7.1.00.0100.07022.33
7.0.200.0000.00817.04
7.0.60.0070.08719.86
7.0.50.0100.03717.88
7.0.40.0070.04019.96
7.0.30.0230.04320.04
7.0.20.0130.04720.31
7.0.10.0200.06320.17
7.0.00.0030.07020.00
5.6.280.0070.05321.10
5.6.210.0000.08020.60
5.6.200.0200.06318.22
5.6.190.0030.04020.64
5.6.180.0400.06720.75
5.6.170.0270.03720.52
5.6.160.0100.03720.48
5.6.150.0000.09018.09
5.6.140.0200.07018.18
5.6.130.0030.04018.12
5.6.120.0170.07321.03
5.6.110.0030.08720.96
5.6.100.0300.07320.88
5.6.90.0130.07720.95
5.6.80.0070.04020.40
5.5.350.0200.06020.52
5.5.340.0070.03717.97
5.5.330.0070.04020.36
5.5.320.0330.07320.29
5.5.310.0230.08020.29
5.5.300.0130.03017.99
5.5.290.0070.08018.02
5.5.280.0070.05720.76
5.5.270.0030.04720.92
5.5.260.0070.06720.97
5.5.250.0100.07020.77
5.5.240.0070.04720.25
5.4.450.0630.07319.62
5.4.440.0170.05719.40
5.4.430.0230.05019.07
5.4.420.0370.05319.07
5.4.410.0130.06019.38
5.4.400.0230.04718.92
5.4.390.0170.06019.20
5.4.380.0170.05319.07
5.4.370.0270.06319.15
5.4.360.0500.04718.78
5.4.350.0230.07019.21
5.4.340.0400.03319.14
5.4.320.0100.06719.08
5.4.310.0170.05718.78
5.4.300.0100.06319.20
5.4.290.0100.06019.30
5.4.280.0200.05319.22
5.4.270.0130.08018.89
5.4.260.0300.06719.14
5.4.250.0100.06019.07
5.4.240.0130.05719.25
5.4.230.0200.05019.20
5.4.220.0270.04718.77
5.4.210.0130.05719.18
5.4.200.0200.05016.63
5.4.190.0130.05718.91
5.4.180.0200.05018.97
5.4.170.0230.05019.18
5.4.160.0200.05019.14
5.4.150.0070.06318.88
5.4.140.0270.04716.52
5.4.130.0200.04716.44
5.4.120.0200.04016.45
5.4.110.0130.05016.29
5.4.100.0170.05016.47
5.4.90.0230.06716.45
5.4.80.0300.04316.60
5.4.70.0130.05716.40
5.4.60.0170.05016.33
5.4.50.0200.04716.32
5.4.40.0200.04716.33
5.4.30.0170.05016.24
5.4.20.0170.06716.29
5.4.10.0300.05016.35
5.4.00.0170.05315.59
5.3.290.0170.05714.55
5.3.280.0200.05314.68
5.3.270.0130.06014.44
5.3.260.0370.04314.48
5.3.250.0100.07014.40
5.3.240.0230.04714.45
5.3.230.0170.05714.54
5.3.220.0130.05314.36
5.3.210.0270.06314.52
5.3.200.0270.06014.42
5.3.190.0070.07314.52
5.3.180.0130.05314.58
5.3.170.0230.04714.55
5.3.160.0400.06014.55
5.3.150.0170.05714.40
5.3.140.0230.04014.57
5.3.130.0330.06314.43
5.3.120.0200.07314.38
5.3.110.0300.06314.39
5.3.100.0330.05713.89
5.3.90.0130.05713.90
5.3.80.0230.05013.85
5.3.70.0130.05713.86
5.3.60.0200.05013.88
5.3.50.0170.05313.74
5.3.40.0100.05313.96
5.3.30.0270.04713.74
5.3.20.0200.04313.46
5.3.10.0270.04313.61
5.3.00.0170.04713.57
5.2.170.0100.04711.09
5.2.160.0100.05311.16
5.2.150.0170.04311.16
5.2.140.0070.05011.16
5.2.130.0100.04311.09
5.2.120.0230.02710.96
5.2.110.0030.05010.96
5.2.100.0270.02311.05
5.2.90.0100.05711.11
5.2.80.0070.06311.04
5.2.70.0070.06711.06
5.2.60.0130.05711.09
5.2.50.0230.04310.88
5.2.40.0130.05310.84
5.2.30.0230.04010.80
5.2.20.0130.05310.75
5.2.10.0170.04710.94
5.2.00.0100.06010.62
5.1.60.0370.04010.01
5.1.50.0070.0479.83
5.1.40.0100.04710.02
5.1.30.0100.04710.29
5.1.20.0070.05010.25
5.1.10.0370.0479.99
5.1.00.0370.03710.08
5.0.50.0100.0308.48
5.0.40.0130.0308.45
5.0.30.0130.0508.38
5.0.20.0100.0308.07
5.0.10.0070.0278.09
5.0.00.0070.0438.13
4.4.90.0000.0277.21
4.4.80.0070.0237.21
4.4.70.0100.0207.21
4.4.60.0070.0207.21
4.4.50.0000.0277.21
4.4.40.0070.0307.21
4.4.30.0070.0237.21
4.4.20.0100.0177.21
4.4.10.0070.0237.21
4.4.00.0070.0407.21
4.3.110.0070.0207.21
4.3.100.0130.0137.21
4.3.90.0030.0307.21
4.3.80.0030.0337.21
4.3.70.0070.0237.21
4.3.60.0130.0277.21
4.3.50.0230.0237.21
4.3.40.0130.0377.21
4.3.30.0100.0207.21
4.3.20.0100.0207.21
4.3.10.0100.0207.21
4.3.00.0130.0236.29