3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = DateTime::createFromFormat('Y-m', '2015-08'); echo $date->format('Y-m-d H:i:s O');

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.10.0110.00416.50
7.3.00.0030.00616.70
7.2.130.0070.00716.85
7.2.120.0030.01217.09
7.2.110.0080.00416.85
7.2.100.0070.00416.88
7.2.90.0090.00316.78
7.2.80.0030.00916.69
7.2.70.0040.00716.85
7.2.60.0070.00616.89
7.2.50.0090.00517.08
7.2.40.0120.00516.95
7.2.30.0080.01017.09
7.2.20.0040.01116.75
7.2.10.0080.00316.96
7.2.00.0070.00518.21
7.1.250.0040.00815.80
7.1.200.0000.01115.73
7.1.100.0040.00817.63
7.1.70.0000.00716.97
7.1.60.0130.01019.36
7.1.50.0040.01116.93
7.1.00.0100.06322.43
7.0.200.0030.00616.92
7.0.60.0170.07319.92
7.0.50.0030.05717.86
7.0.40.0070.08320.25
7.0.30.0370.04720.18
7.0.20.0270.06720.18
7.0.10.0030.04720.16
7.0.00.0000.04320.16
5.6.280.0030.04320.89
5.6.210.0030.08320.50
5.6.200.0100.07718.19
5.6.190.0170.07320.27
5.6.180.0570.06720.41
5.6.170.0330.04320.36
5.6.160.0130.07320.61
5.6.150.0030.04018.15
5.6.140.0070.08718.20
5.6.130.0100.08018.11
5.6.120.0130.07721.02
5.6.110.0100.06321.00
5.6.100.0070.05320.95
5.6.90.0000.07020.98
5.6.80.0170.07020.28
5.5.350.3930.04320.39
5.5.340.0030.07017.98
5.5.330.0070.08320.25
5.5.320.0070.08320.24
5.5.310.0430.06720.17
5.5.300.0030.04718.01
5.5.290.0070.07317.95
5.5.280.0070.04320.77
5.5.270.0070.08720.78
5.5.260.0030.08720.87
5.5.250.0170.07020.49
5.5.240.0300.07020.18
5.4.450.0570.05719.61
5.4.440.0570.06019.22
5.4.430.0530.05719.63
5.4.420.0730.05719.62
5.4.410.0700.05319.13
5.4.400.0600.06019.08
5.4.390.0570.06719.25
5.4.380.0730.05019.27
5.4.370.0800.03718.90
5.4.360.0730.04719.06
5.4.350.0770.04318.78
5.4.340.0800.07318.94
5.4.320.0670.05718.89
5.4.310.0730.04718.78
5.4.300.0670.05719.00
5.4.290.0600.05719.09
5.4.280.0600.06018.93
5.4.270.0570.05019.25
5.4.260.0630.04718.79
5.4.250.0630.04718.77
5.4.240.0470.05719.07
5.4.230.0630.05019.27
5.4.220.0630.04719.27
5.4.210.0630.04719.25
5.4.200.0630.05319.21
5.4.190.0670.06018.78
5.4.180.0670.05319.05
5.4.170.0700.05719.11
5.4.160.0670.05019.28
5.4.150.0670.05319.28
5.4.140.0630.05716.56
5.4.130.0630.05016.47
5.4.120.0530.05016.65
5.4.110.0730.04716.50
5.4.100.0700.04316.60
5.4.90.0600.05316.50
5.4.80.0570.05316.50
5.4.70.0500.05316.39
5.4.60.0600.04316.50
5.4.50.0730.04016.16
5.4.40.0670.06016.43
5.4.30.0600.04316.41
5.4.20.0700.04716.51
5.4.10.0600.05016.18
5.4.00.0670.04315.66
5.3.290.0630.04714.45
5.3.280.0500.06714.47
5.3.270.0600.06314.69
5.3.260.0670.06314.45
5.3.250.0600.06314.54
5.3.240.0630.05314.63
5.3.230.0700.04714.57
5.3.220.0700.05314.51
5.3.210.0630.05014.45
5.3.200.0500.05314.51
5.3.190.0530.05314.35
5.3.180.0600.05014.49
5.3.170.0570.05014.65
5.3.160.0600.04714.59
5.3.150.0570.05014.51
5.3.140.0600.05714.58
5.3.130.0600.05014.49
5.3.120.0670.04314.63
5.3.110.0670.03714.49
5.3.100.0670.05013.88
5.3.90.0730.06713.95
5.3.80.0930.06014.11
5.3.70.0800.04013.89
5.3.60.0770.06013.93
5.3.50.0430.04713.79
5.3.40.0500.05713.79
5.3.30.0500.05013.89
5.3.20.0070.05313.49
5.3.10.0170.04313.45
5.3.00.0170.06313.62
5.2.170.0000.04710.98
5.2.160.0130.03311.30
5.2.150.0530.04310.99
5.2.140.0370.03711.13
5.2.130.0100.05711.08
5.2.120.0370.03711.04
5.2.110.0070.04310.94
5.2.100.0070.04011.05
5.2.90.0070.04311.25
5.2.80.0230.04711.18
5.2.70.0130.03710.88
5.2.60.0070.04711.20
5.2.50.0130.03310.95
5.2.40.0100.03710.78
5.2.30.0030.04311.12
5.2.20.0070.04010.97
5.2.10.0030.04310.76
5.2.00.0200.03310.77
5.1.60.0230.0279.92
5.1.50.0100.0409.86
5.1.40.0100.0309.95
5.1.30.0100.03310.38
5.1.20.0200.02710.50
5.1.10.0070.0339.98
5.1.00.0030.0379.91
5.0.50.0000.0378.63
5.0.40.0070.0238.33
5.0.30.0100.0378.19
5.0.20.0030.0278.42
5.0.10.0100.0238.07
5.0.00.0070.0438.07
4.4.90.0070.0305.86
4.4.80.0030.0205.86
4.4.70.0100.0235.86
4.4.60.0030.0235.86
4.4.50.0100.0205.86
4.4.40.0030.0405.86
4.4.30.0000.0235.86
4.4.20.0000.0235.89
4.4.10.0030.0205.86
4.4.00.0000.0375.86
4.3.110.0030.0205.86
4.3.100.0070.0175.86
4.3.90.0030.0205.86
4.3.80.0070.0305.86
4.3.70.0000.0235.86
4.3.60.0070.0235.86
4.3.50.0100.0275.86
4.3.40.0030.0335.86
4.3.30.0000.0235.86
4.3.20.0000.0235.86
4.3.10.0070.0175.86
4.3.00.0100.0175.86