3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new DateTime('2015-03-18'); echo $dt->format('Y-m-d');
based on WiC2o

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.0040.00816.84
7.2.00.0030.01019.34
7.1.200.0000.01515.59
7.1.100.0040.00717.96
7.1.70.0000.01717.20
7.1.60.0140.01119.46
7.1.50.0040.01916.79
7.1.00.0100.07022.57
7.0.200.0360.00415.00
7.0.140.0000.07722.15
7.0.60.0100.08020.02
7.0.50.0030.05317.80
7.0.40.0070.08020.07
7.0.30.0330.06720.19
7.0.20.0200.03720.31
7.0.10.0070.07320.09
7.0.00.0400.04020.09
5.6.280.0030.07321.02
5.6.210.0070.05320.74
5.6.200.0130.08018.09
5.6.190.0030.05320.67
5.6.180.0430.05320.67
5.6.170.0230.03720.50
5.6.160.0100.04320.27
5.6.150.0100.07718.12
5.6.140.0170.04018.21
5.6.130.0070.03718.22
5.6.120.0000.04720.89
5.6.110.0070.07321.00
5.6.100.0200.06320.99
5.6.90.0070.08020.95
5.6.80.0030.05320.52
5.5.350.0270.08020.39
5.5.340.0100.08017.95
5.5.330.0030.07720.37
5.5.320.0000.04720.27
5.5.310.0330.07720.17
5.5.300.0030.03717.98
5.5.290.0200.07317.87
5.5.280.0070.03720.79
5.5.270.0000.04320.79
5.5.260.0030.07020.79
5.5.250.0070.08320.48
5.5.240.0030.06320.06
5.4.450.0800.07019.53
5.4.440.0270.05019.46
5.4.430.0300.05319.49
5.4.420.0270.05319.45
5.4.410.0270.05019.28
5.4.400.0230.05319.15
5.4.390.0300.04318.46
5.4.380.0100.06018.72
5.4.370.0070.06018.64
5.4.360.0170.04718.61
5.4.350.0130.06018.63
5.4.340.0300.05318.52
5.4.320.0230.05018.71
5.4.310.0270.04718.77
5.4.300.0170.04718.73
5.4.290.0070.06018.46
5.4.280.0130.05318.62
5.4.270.0200.04718.58
5.4.260.0200.05318.64
5.4.250.0270.04718.58
5.4.240.0200.05318.64
5.4.230.0270.05318.45
5.4.220.0200.05318.61
5.4.210.0130.05018.57
5.4.200.0630.04316.56
5.4.190.0730.06018.51
5.4.180.0930.05718.45
5.4.170.0700.06018.68
5.4.160.0870.05318.57
5.4.150.0800.05018.58
5.4.140.0870.04716.22
5.4.130.0130.05316.31
5.4.120.0230.04716.40
5.4.110.0030.06016.19
5.4.100.0070.05716.31
5.4.90.0300.04016.16
5.4.80.0230.04316.25
5.4.70.0170.05316.09
5.4.60.0270.03316.16
5.4.50.0230.04316.23
5.4.40.0200.05316.09
5.4.30.0170.04716.18
5.4.20.0200.04716.23
5.4.10.0170.04316.03
5.4.00.0170.05015.62
5.3.290.0170.05714.64
5.3.280.0130.05714.57
5.3.270.0070.06314.61
5.3.260.0500.05714.70
5.3.250.0130.06014.54
5.3.240.0200.06014.65
5.3.230.0200.04714.59
5.3.220.0170.07014.57
5.3.210.0270.05014.55
5.3.200.0170.05714.54
5.3.190.0300.04714.66
5.3.180.0130.05714.60
5.3.170.0230.05714.54
5.3.160.0170.05314.47
5.3.150.0170.05014.66
5.3.140.0170.05314.54
5.3.130.0300.05014.49
5.3.120.0130.05314.53
5.3.110.0070.07314.45
5.3.100.0600.05714.02
5.3.90.0100.05314.09
5.3.80.0200.05713.99
5.3.70.0370.03714.11
5.3.60.0100.05313.95
5.3.50.0200.05013.91
5.3.40.0200.05013.86
5.3.30.0100.05313.82
5.3.20.0100.04713.79
5.3.10.0270.05013.65
5.3.00.0270.04313.62
5.2.170.0130.04311.18
5.2.160.0030.04711.18
5.2.150.0330.04311.07
5.2.140.0230.04311.12
5.2.130.0270.04311.07
5.2.120.0000.04311.25
5.2.110.0570.04311.16
5.2.100.0270.03011.15
5.2.90.0070.04711.07
5.2.80.0130.04011.02
5.2.70.0200.03711.06
5.2.60.0100.04711.03
5.2.50.0130.04710.98
5.2.40.0230.03010.96
5.2.30.0130.04010.92
5.2.20.0130.03710.99
5.2.10.0130.03710.90
5.2.00.0130.03710.70
5.1.60.0130.03010.09
5.1.50.0070.03710.11
5.1.40.0130.0339.95
5.1.30.0230.02710.32
5.1.20.0200.03010.37
5.1.10.0070.04010.04
5.1.00.0070.04010.09
5.0.50.0070.0308.68
5.0.40.0000.0338.38
5.0.30.0070.0438.33
5.0.20.0070.0238.29
5.0.10.0170.0178.18
5.0.00.0070.0478.17
4.4.90.0070.0205.93
4.4.80.0030.0235.86
4.4.70.0030.0335.80
4.4.60.0000.0375.94
4.4.50.0070.0305.90
4.4.40.0100.0435.86
4.4.30.0100.0275.82
4.4.20.0070.0305.97
4.4.10.0130.0305.92
4.4.00.0130.0375.95
4.3.110.0100.0275.88
4.3.100.0030.0335.82
4.3.90.0100.0275.79
4.3.80.0130.0375.76
4.3.70.0070.0305.79
4.3.60.0170.0235.81
4.3.50.0100.0275.82
4.3.40.0030.0475.76
4.3.30.0030.0304.65
4.3.20.0030.0304.65
4.3.10.0000.0334.65
4.3.00.0230.03014.62