3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utc = new DateTimeZone('UTC'); $amla = new DateTimeZone('America/New_York'); $two_past_midnight = new DateTime('2016-03-05 19:00', $utc); $two_past_midnight->setTimeZone($amla); echo $two_past_midnight->format('T'); ?>

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.01016.63
8.3.50.0130.00721.26
8.3.40.0100.00618.93
8.3.30.0070.01418.97
8.3.20.0080.00020.35
8.3.10.0050.00321.91
8.3.00.0060.00323.61
8.2.180.0140.00016.75
8.2.170.0110.01122.96
8.2.160.0030.01020.52
8.2.150.0050.00324.18
8.2.140.0070.00724.66
8.2.130.0050.00220.93
8.2.120.0080.00026.35
8.2.110.0040.00422.10
8.2.100.0050.00918.03
8.2.90.0000.00817.88
8.2.80.0000.00819.03
8.2.70.0030.00618.03
8.2.60.0040.00417.75
8.2.50.0030.00618.05
8.2.40.0080.00018.34
8.2.30.0000.00718.12
8.2.20.0080.00017.86
8.2.10.0040.00418.06
8.2.00.0040.00418.11
8.1.280.0070.00725.92
8.1.270.0130.00722.02
8.1.260.0140.00028.09
8.1.250.0060.00328.09
8.1.240.0030.00618.93
8.1.230.0110.00017.82
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.47
8.1.190.0030.00617.35
8.1.180.0000.00818.10
8.1.170.0040.00418.79
8.1.160.0000.00718.78
8.1.150.0000.00718.90
8.1.140.0000.00819.54
8.1.130.0040.00417.59
8.1.120.0070.00017.55
8.1.110.0030.00517.71
8.1.100.0050.00217.51
8.1.90.0000.00817.61
8.1.80.0040.00417.63
8.1.70.0030.00317.61
8.1.60.0020.00517.54
8.1.50.0000.00817.61
8.1.40.0080.00017.62
8.1.30.0040.00417.73
8.1.20.0080.00017.70
8.1.10.0050.00217.69
8.1.00.0050.00217.70
8.0.300.0050.00218.77
8.0.290.0040.00416.88
8.0.280.0050.00518.49
8.0.270.0070.00017.31
8.0.260.0030.00317.31
8.0.250.0070.00017.07
8.0.240.0000.00717.11
8.0.230.0000.00716.96
8.0.220.0000.00716.89
8.0.210.0060.00316.96
8.0.200.0000.00716.95
8.0.190.0040.00817.04
8.0.180.0000.00716.93
8.0.170.0070.00016.97
8.0.160.0000.00717.01
8.0.150.0000.00816.96
8.0.140.0040.00416.94
8.0.130.0000.00513.44
8.0.120.0000.00817.01
8.0.110.0020.00517.01
8.0.100.0000.00816.90
8.0.90.0020.00516.81
8.0.80.0060.00917.01
8.0.70.0040.00416.96
8.0.60.0050.00216.96
8.0.50.0000.00716.86
8.0.30.0140.00517.30
8.0.20.0130.00617.40
8.0.10.0000.00717.12
8.0.00.0080.00916.92
7.4.330.0000.00516.85
7.4.320.0000.00616.59
7.4.300.0070.00016.63
7.4.290.0070.00416.58
7.4.280.0000.00716.55
7.4.270.0080.00016.71
7.4.260.0060.00316.69
7.4.250.0050.00216.63
7.4.240.0000.00816.47
7.4.230.0040.00416.66
7.4.220.0170.01016.70
7.4.210.0080.01016.58
7.4.200.0000.00716.40
7.4.160.0090.00616.42
7.4.150.0100.00717.40
7.4.140.0110.01417.86
7.4.130.0100.01016.54
7.4.120.0110.00916.62
7.4.110.0070.01116.76
7.4.100.0120.01216.76
7.4.90.0120.00616.70
7.4.80.0100.00719.39
7.4.70.0110.00716.68
7.4.60.0110.01116.64
7.4.50.0030.01016.56
7.4.40.0090.00916.70
7.4.30.0120.00616.59
7.4.00.0070.00715.06
7.3.330.0000.00713.19
7.3.320.0000.00513.32
7.3.310.0030.00316.36
7.3.300.0050.00216.38
7.3.290.0000.00716.29
7.3.280.0130.00416.38
7.3.270.0130.00717.40
7.3.260.0110.00616.43
7.3.250.0090.01016.50
7.3.240.0080.01216.61
7.3.230.0070.01416.41
7.3.210.0070.01116.23
7.3.200.0110.01219.39
7.3.190.0150.00916.41
7.3.180.0030.01616.37
7.3.170.0090.00616.32
7.3.160.0060.01016.35
7.2.330.0130.01316.79
7.2.320.0100.00616.57
7.2.310.0040.01316.71
7.2.300.0000.01816.93
7.2.290.0060.00916.58
7.2.80.0070.01016.81
7.2.60.0060.00916.96
7.2.00.0000.01219.35
7.1.200.0000.01115.88
7.1.100.0090.00918.27
7.1.70.0070.00317.16
7.1.60.0100.01017.30
7.1.50.0070.01116.96
7.1.00.0070.07322.31
7.0.200.0090.00616.97
7.0.60.0170.06721.84
7.0.50.0070.07317.80
7.0.40.0000.05020.04
7.0.30.0470.07020.18
7.0.20.0230.07720.16
7.0.10.0000.09320.16
7.0.00.0100.08320.03
5.6.280.0030.03321.02
5.6.210.0130.07720.54
5.6.200.0170.07718.21
5.6.190.0030.08720.39
5.6.180.0170.04720.39
5.6.170.0230.04320.52
5.6.160.0100.06720.50
5.6.150.0030.06018.15
5.6.140.0130.07018.10
5.6.130.0130.08018.23
5.6.120.0100.08021.09
5.6.110.0130.05321.13
5.6.100.0100.08720.88
5.6.90.0130.06321.10
5.6.80.0030.06720.47
5.5.350.0370.07320.33
5.5.340.0070.07717.84
5.5.330.0030.06020.25
5.5.320.0130.05720.24
5.5.310.0300.07720.41
5.5.300.0070.05317.98
5.5.290.0100.08017.88
5.5.280.0100.07720.89
5.5.270.0170.08020.95
5.5.260.0030.04320.95
5.5.250.0100.03320.79
5.5.240.0200.04720.18

preferences:
46.42 ms | 401 KiB | 5 Q