3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/New_York'); $date = new DateTime("2012-07-05 16:43:21", new DateTimeZone('Europe/Paris')); echo date("Y-m-d h:iA", $date->format('U'));

Here you find the average performance (time & memory) of each version. A greyed 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.00.0040.00819.43
7.1.100.0040.00717.99
7.1.70.0030.00817.35
7.1.60.0060.00619.46
7.1.50.0180.01117.14
7.1.00.0000.08022.30
7.0.200.0040.00417.05
7.0.140.0030.07021.92
7.0.100.0100.07719.93
7.0.90.0100.08019.91
7.0.80.0070.08319.93
7.0.70.0070.08719.96
7.0.60.0170.06720.00
7.0.50.0070.08720.30
7.0.40.0130.05020.17
7.0.30.0070.08720.00
7.0.20.0130.08020.09
7.0.10.0030.07020.08
7.0.00.0100.05320.02
5.6.280.0100.06720.79
5.6.250.0030.09020.66
5.6.240.0170.07320.59
5.6.230.0130.07720.75
5.6.220.0070.08320.66
5.6.210.0070.07020.49
5.6.200.0070.08320.95
5.6.190.0070.08320.96
5.6.180.0200.07321.13
5.6.170.0070.08721.14
5.6.160.0170.05021.07
5.6.150.0030.08321.13
5.6.140.0070.08721.13
5.6.130.0100.08720.94
5.6.120.0130.07321.10
5.6.110.0100.06721.03
5.6.100.0070.08721.12
5.6.90.0030.05320.98
5.6.80.0070.04320.32
5.6.70.0000.06720.39
5.6.60.0070.07320.38
5.6.50.0070.04320.44
5.6.40.0030.07720.46
5.6.30.0100.04020.41
5.6.20.0070.04320.37
5.6.10.0130.05720.46
5.6.00.0100.03720.41
5.5.380.0130.07320.35
5.5.370.0230.06720.35
5.5.360.0100.08320.40
5.5.350.0200.07320.43
5.5.340.0030.07020.73
5.5.330.0070.08020.86
5.5.320.0100.08320.82
5.5.310.0070.05020.76
5.5.300.0200.07020.80
5.5.290.0170.07320.87
5.5.280.0170.07020.86
5.5.270.0030.09020.85
5.5.260.0070.06720.84
5.5.250.0170.03720.59
5.5.240.0070.08020.20
5.5.230.0030.08320.30
5.5.220.0030.08020.08
5.5.210.0070.04020.10
5.5.200.0100.07320.19
5.5.190.0130.07020.18
5.5.180.0030.05320.23
5.5.160.0130.07020.11
5.5.150.0070.04020.22
5.5.140.0070.08020.08
5.5.130.0030.08720.12
5.5.120.0130.07320.21
5.5.110.0100.07720.19
5.5.100.0070.08020.10
5.5.90.0070.07320.09
5.5.80.0070.06020.05
5.5.70.0070.08020.03
5.5.60.0130.05320.17
5.5.50.0200.06720.03
5.5.40.0100.07319.93
5.5.30.0170.06720.02
5.5.20.0100.08320.10
5.5.10.0000.08320.03
5.5.00.0000.08020.07
5.4.450.0100.06319.36
5.4.440.0100.08019.39
5.4.430.0100.07719.38
5.4.420.0070.07319.52
5.4.410.0000.08319.16
5.4.400.0070.04019.23
5.4.390.0170.04318.79
5.4.380.0000.04319.13
5.4.370.0030.06318.78
5.4.360.0000.04319.03
5.4.350.0070.05719.05
5.4.340.0000.07718.96
5.4.320.0130.07318.95
5.4.310.0030.05019.07
5.4.300.0070.07319.05
5.4.290.0070.05318.94
5.4.280.0030.08319.14
5.4.270.0030.06319.07
5.4.260.0100.06018.78
5.4.250.0100.04018.80
5.4.240.0130.07019.12
5.4.230.0070.07719.11
5.4.220.0100.07319.07
5.4.210.0030.08319.07
5.4.200.0230.05719.09
5.4.190.0030.07719.01
5.4.180.0130.05718.80
5.4.170.0070.06018.80
5.4.160.0070.07019.00
5.4.150.0030.08018.79
5.4.140.0000.06716.39
5.4.130.0030.07016.38
5.4.120.0070.08016.41
5.4.110.0100.07316.29
5.4.100.0100.07016.31
5.4.90.0070.04016.48
5.4.80.0000.05016.36
5.4.70.0100.06316.30
5.4.60.0030.04716.38
5.4.50.0000.08316.23
5.4.40.0130.04716.26
5.4.30.0200.07016.38
5.4.20.0100.06316.28
5.4.10.0000.05016.41
5.4.00.0070.06015.56
5.3.290.0100.07714.50
5.3.280.0030.05314.45
5.3.270.0100.07314.56
5.3.260.0000.08714.44
5.3.250.0030.07714.59
5.3.240.0100.03314.43
5.3.230.0070.05714.41
5.3.220.0170.05014.43
5.3.210.0100.07314.52
5.3.200.0000.06714.43
5.3.190.0100.07314.56
5.3.180.0070.08014.43
5.3.170.0100.05014.53
5.3.160.0170.05714.55
5.3.150.0070.04714.47
5.3.140.0070.06714.49
5.3.130.0130.07714.50
5.3.120.0100.07714.41
5.3.110.0070.07714.54
5.3.100.0030.05314.01
5.3.90.0100.06313.92
5.3.80.0030.04314.00
5.3.70.0070.04313.92
5.3.60.0130.05713.76
5.3.50.0100.06713.93
5.3.40.0000.08013.89
5.3.30.0070.04013.77
5.3.20.0030.04313.68
5.3.10.0030.03313.64
5.3.00.0070.03313.65
5.2.170.0030.05711.21
5.2.160.0130.03011.19
5.2.150.0070.06011.06
5.2.140.0030.06011.14
5.2.130.0000.03010.89
5.2.120.0000.03311.02
5.2.110.0000.03010.96
5.2.100.0030.03011.09
5.2.90.0000.03711.07
5.2.80.0000.03011.16
5.2.70.0000.04011.07
5.2.60.0030.03010.89
5.2.50.0070.02711.02
5.2.40.0030.02710.82
5.2.30.0030.03010.99
5.2.20.0070.02310.80
5.2.10.0070.02310.79
5.2.00.0030.02710.64
5.1.60.0000.0279.97
5.1.50.0070.0379.98
5.1.40.0000.0279.99
5.1.30.0000.03310.23
5.1.20.0070.02310.26
5.1.10.0000.02710.11
5.1.00.0070.03010.14
5.0.50.0070.0208.57
5.0.40.0000.0408.45
5.0.30.0070.0608.30
5.0.20.0030.0478.03
5.0.10.0070.0378.20
5.0.00.0070.0438.18
4.4.90.0000.0177.11
4.4.80.0000.0177.11
4.4.70.0000.0177.11
4.4.60.0000.0177.11
4.4.50.0030.0137.11
4.4.40.0000.0237.11
4.4.30.0030.0207.11
4.4.20.0000.0277.11
4.4.10.0000.0237.11
4.4.00.0000.0477.11
4.3.110.0000.0277.11
4.3.100.0030.0377.11
4.3.90.0070.0337.11
4.3.80.0000.0407.11
4.3.70.0000.0237.11
4.3.60.0030.0137.11
4.3.50.0030.0237.11
4.3.40.0100.0407.11
4.3.30.0000.0177.11
4.3.20.0000.0177.11
4.3.10.0030.0237.11
4.3.00.0000.0207.11