3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime("2012-07-05 16:43:21", new DateTimeZone('Europe/Paris')); date_default_timezone_set('America/New_York'); echo date("Y-m-d h:iA", $date->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.10.0040.01116.52
7.3.00.0000.01116.87
7.2.130.0070.00416.95
7.2.120.0040.00917.00
7.2.110.0110.00316.75
7.2.100.0060.00617.06
7.2.90.0000.01317.03
7.2.80.0030.01317.11
7.2.70.0080.00016.83
7.2.60.0000.00916.80
7.2.50.0070.00416.97
7.2.40.0060.00617.05
7.2.30.0090.00616.93
7.2.20.0030.01017.04
7.2.10.0000.00917.27
7.2.00.0060.00718.00
7.1.250.0110.00015.95
7.1.100.0070.00718.08
7.1.70.0000.00817.32
7.1.60.0040.01819.46
7.1.50.0160.01316.97
7.1.00.0070.07322.40
7.0.200.0030.00617.04
7.0.140.0000.07722.07
7.0.90.0030.08021.72
7.0.80.0030.08021.76
7.0.70.0000.08321.82
7.0.60.0000.04321.75
7.0.50.0000.05022.02
7.0.40.0070.06320.05
7.0.30.0070.08020.01
7.0.20.0000.08720.00
7.0.10.0030.07020.14
7.0.00.0030.06019.95
5.6.280.0000.07720.92
5.6.240.0030.08320.72
5.6.230.0000.07720.57
5.6.220.0130.05320.57
5.6.210.0030.06720.45
5.6.200.0070.08020.99
5.6.190.0070.08021.07
5.6.180.0030.07720.98
5.6.170.0130.07021.10
5.6.160.0030.04721.06
5.6.150.0030.09020.96
5.6.140.0070.04720.96
5.6.130.0030.08721.03
5.6.120.0000.08721.03
5.6.110.0030.08021.00
5.6.100.0070.07321.12
5.6.90.0000.05021.08
5.6.80.0100.07320.43
5.6.70.0070.07020.39
5.6.60.0070.05320.38
5.6.50.0030.08020.44
5.6.40.0030.07720.29
5.6.30.0030.07020.39
5.6.20.0070.08020.40
5.6.10.0100.07020.31
5.6.00.0130.06720.41
5.5.380.0170.06320.39
5.5.370.0070.08320.51
5.5.360.0070.06020.35
5.5.350.0070.04020.45
5.5.340.0030.08020.88
5.5.330.0070.05320.81
5.5.320.0030.06320.90
5.5.310.0070.04320.89
5.5.300.0070.07720.75
5.5.290.0030.05020.89
5.5.280.0100.07320.91
5.5.270.0070.08320.87
5.5.260.0030.07020.86
5.5.250.0070.08020.73
5.5.240.0030.07320.17
5.5.230.0100.07320.16
5.5.220.0030.04020.13
5.5.210.0000.08720.17
5.5.200.0100.04020.28
5.5.190.0000.07720.25
5.5.180.0130.06020.07
5.5.160.0070.09020.20
5.5.150.0100.07020.16
5.5.140.0000.04720.07
5.5.130.0030.07720.26
5.5.120.0130.06020.14
5.5.110.0100.06320.23
5.5.100.0100.07720.09
5.5.90.0070.07720.10
5.5.80.0030.07320.00
5.5.70.0070.04020.15
5.5.60.0030.06719.95
5.5.50.0000.06320.07
5.5.40.0000.05319.95
5.5.30.0030.07720.07
5.5.20.0030.05320.04
5.5.10.0100.04320.11
5.5.00.0070.07320.06
5.4.450.0070.07719.23
5.4.440.0030.07319.48
5.4.430.0070.07719.12
5.4.420.0030.08019.39
5.4.410.0030.05719.16
5.4.400.0100.07019.12
5.4.390.0070.07018.95
5.4.380.0030.04319.06
5.4.370.0030.07319.00
5.4.360.0070.08018.98
5.4.350.0030.07719.06
5.4.340.0130.03319.07
5.4.320.0070.07719.14
5.4.310.0030.06719.07
5.4.300.0000.04018.98
5.4.290.0000.07019.09
5.4.280.0030.04319.12
5.4.270.0000.04719.02
5.4.260.0030.04319.23
5.4.250.0000.05718.80
5.4.240.0070.06019.02
5.4.230.0100.06719.07
5.4.220.0030.06719.12
5.4.210.0070.06319.09
5.4.200.0070.07318.80
5.4.190.0100.06018.80
5.4.180.0070.06719.09
5.4.170.0070.05719.02
5.4.160.0030.07018.90
5.4.150.0030.06319.09
5.4.140.0030.06316.33
5.4.130.0030.04716.33
5.4.120.0070.07016.33
5.4.110.0000.07316.26
5.4.100.0100.06016.32
5.4.90.0000.07716.31
5.4.80.0000.07016.40
5.4.70.0000.05316.35
5.4.60.0070.03716.18
5.4.50.0030.06716.32
5.4.40.0000.05716.28
5.4.30.0000.04016.30
5.4.20.0030.06016.22
5.4.10.0030.04016.18
5.4.00.0000.04315.83
5.3.290.0070.07714.63
5.3.280.0000.08014.58
5.3.270.0100.07014.55
5.3.260.0030.06314.59
5.3.250.0030.06014.54
5.3.240.0070.07314.59
5.3.230.0100.06314.57
5.3.220.0070.05014.52
5.3.210.0000.04714.54
5.3.200.0030.05714.56
5.3.190.0030.07314.50
5.3.180.0070.06714.57
5.3.170.0030.08714.41
5.3.160.0030.06714.54
5.3.150.0070.07314.52
5.3.140.0030.05014.38
5.3.130.0070.07014.40
5.3.120.0030.07314.37
5.3.110.0030.05714.53
5.3.100.0070.07013.90
5.3.90.0030.04713.90
5.3.80.0070.07014.01
5.3.70.0100.05014.00
5.3.60.0070.06713.96
5.3.50.0030.07013.93
5.3.40.0070.07013.88
5.3.30.0030.07013.89
5.3.20.0100.06313.62
5.3.10.0030.04013.60
5.3.00.0030.06713.57
5.2.170.0000.06010.93
5.2.160.0030.05310.99
5.2.150.0030.03011.10
5.2.140.0070.06010.95
5.2.130.0000.06311.09
5.2.120.0030.04711.11
5.2.110.0000.06011.10
5.2.100.0070.05710.91
5.2.90.0030.04311.15
5.2.80.0070.03310.91
5.2.70.0000.04010.91
5.2.60.0030.04711.07
5.2.50.0030.04310.88
5.2.40.0030.05710.99
5.2.30.0030.05710.78
5.2.20.0000.06010.91
5.2.10.0100.05010.87
5.2.00.0030.05010.77
5.1.60.0000.04310.00
5.1.50.0000.0339.99
5.1.40.0000.05010.00
5.1.30.0030.05310.34
5.1.20.0000.05010.25
5.1.10.0000.0339.95
5.1.00.0030.05010.10
5.0.50.0000.0508.92
5.0.40.0000.0338.92
5.0.30.0070.0508.92
5.0.20.0030.0338.92
5.0.10.0100.0338.92
5.0.00.0070.0408.92
4.4.90.0000.0238.92
4.4.80.0000.0338.92
4.4.70.0070.0238.92
4.4.60.0030.0338.92
4.4.50.0000.0338.92
4.4.40.0000.0608.92
4.4.30.0030.0338.92
4.4.20.0030.0208.92
4.4.10.0030.0308.92
4.4.00.0000.0508.92
4.3.110.0030.0308.92
4.3.100.0000.0338.92
4.3.90.0000.0208.92
4.3.80.0030.0478.92
4.3.70.0000.0338.92
4.3.60.0000.0278.92
4.3.50.0030.0178.92
4.3.40.0030.0278.92
4.3.30.0070.0278.92
4.3.20.0000.0378.92
4.3.10.0030.0178.92
4.3.00.0000.0178.92