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-13-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.0140.00416.63
8.3.50.0070.01221.14
8.3.40.0120.00318.92
8.3.30.0120.00318.96
8.3.20.0040.00420.16
8.3.10.0110.00721.90
8.3.00.0140.00323.56
8.2.180.0000.01416.50
8.2.170.0110.00422.96
8.2.160.0070.01320.21
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00021.12
8.2.120.0140.00326.35
8.2.110.0070.00319.30
8.2.100.0090.00317.80
8.2.90.0000.00919.22
8.2.80.0030.00717.97
8.2.70.0060.00317.63
8.2.60.0080.00018.05
8.2.50.0050.00518.09
8.2.40.0000.00822.34
8.2.30.0000.00819.48
8.2.20.0080.00019.65
8.2.10.0080.00318.05
8.2.00.0040.00418.07
8.1.280.0110.00425.92
8.1.270.0130.00622.20
8.1.260.0040.01128.09
8.1.250.0060.00928.09
8.1.240.0030.00622.29
8.1.230.0100.00017.89
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.50
8.1.190.0000.00817.38
8.1.180.0040.00418.10
8.1.170.0040.00418.66
8.1.160.0040.00420.77
8.1.150.0000.00718.82
8.1.140.0030.00519.58
8.1.130.0030.00317.63
8.1.120.0000.00717.58
8.1.110.0020.00517.66
8.1.100.0060.00317.54
8.1.90.0070.00017.60
8.1.80.0000.00717.68
8.1.70.0000.00817.65
8.1.60.0050.00317.68
8.1.50.0050.00317.71
8.1.40.0080.00017.61
8.1.30.0000.00817.70
8.1.20.0030.00517.68
8.1.10.0050.00217.61
8.1.00.0040.00417.57
8.0.300.0040.00418.84
8.0.290.0000.00716.86
8.0.280.0000.00718.36
8.0.270.0000.00717.26
8.0.260.0000.00617.22
8.0.250.0030.00317.17
8.0.240.0070.00017.14
8.0.230.0070.00017.05
8.0.220.0040.00417.05
8.0.210.0080.00017.09
8.0.200.0030.00617.07
8.0.190.0040.00917.16
8.0.180.0040.00417.08
8.0.170.0050.00217.16
8.0.160.0030.00517.08
8.0.150.0040.00417.00
8.0.140.0000.00817.01
8.0.130.0000.00513.47
8.0.120.0040.00417.04
8.0.110.0040.00417.09
8.0.100.0040.00417.09
8.0.90.0070.00017.09
8.0.80.0080.00817.04
8.0.70.0040.00417.06
8.0.60.0040.00416.96
8.0.50.0040.00417.15
8.0.30.0100.00917.16
8.0.20.0120.00917.43
8.0.10.0040.00417.08
8.0.00.0070.01317.02
7.4.330.0050.00016.76
7.4.320.0000.00616.68
7.4.300.0040.00416.64
7.4.290.0000.01016.64
7.4.280.0030.00516.53
7.4.270.0040.00416.75
7.4.260.0000.00716.61
7.4.250.0000.00816.59
7.4.240.0000.00716.75
7.4.230.0000.00716.57
7.4.220.0080.01116.84
7.4.210.0030.01016.64
7.4.200.0040.00416.83
7.4.160.0090.00616.79
7.4.150.0000.01617.40
7.4.140.0110.00817.86
7.4.130.0070.01016.70
7.4.120.0140.00616.65
7.4.110.0060.01016.82
7.4.100.0070.01416.79
7.4.90.0090.00916.76
7.4.80.0070.01019.39
7.4.70.0130.00516.83
7.4.60.0130.00716.69
7.4.50.0040.00916.84
7.4.40.0070.01116.81
7.4.30.0000.01716.61
7.4.00.0060.00914.72
7.3.330.0080.00013.36
7.3.320.0000.00513.32
7.3.310.0030.00316.52
7.3.300.0050.00316.51
7.3.290.0030.00316.38
7.3.280.0120.00516.54
7.3.270.0170.00617.40
7.3.260.0070.01116.56
7.3.250.0120.00416.45
7.3.240.0070.01116.59
7.3.230.0070.01016.44
7.3.210.0120.00616.41
7.3.200.0060.01219.39
7.3.190.0130.01016.64
7.3.180.0130.00716.57
7.3.170.0030.01216.68
7.3.160.0070.01016.54
7.2.330.0070.01416.61
7.2.320.0140.00416.57
7.2.310.0070.01516.73
7.2.300.0100.00716.72
7.2.290.0060.00916.80
7.2.60.0030.00916.77
7.2.00.0000.01319.65
7.1.200.0030.01015.80
7.1.100.0090.00317.88
7.1.70.0030.00317.15
7.1.60.0040.02119.40
7.1.50.0130.00916.77
7.1.00.0030.07322.45
7.0.200.0570.00614.43
7.0.60.0170.05021.67
7.0.50.0100.07717.94
7.0.40.0030.04319.96
7.0.30.0300.07320.17
7.0.20.0270.07320.16
7.0.10.0070.08320.17
7.0.00.0130.08320.00
5.6.280.0000.03320.82
5.6.210.0100.07320.69
5.6.200.0030.08018.19
5.6.190.0030.04320.63
5.6.180.0170.04320.45
5.6.170.0270.04320.51
5.6.160.0030.05720.57
5.6.150.0030.04018.15
5.6.140.0200.06718.15
5.6.130.0070.05318.15
5.6.120.0070.06321.12
5.6.110.0000.06320.98
5.6.100.0100.04020.95
5.6.90.0170.07321.09
5.6.80.0100.07320.53
5.5.350.0300.05720.40
5.5.340.0070.03718.00
5.5.330.0030.04320.32
5.5.320.0270.06320.27
5.5.310.0270.07720.36
5.5.300.0030.04018.02
5.5.290.0030.06717.91
5.5.280.0000.08320.63
5.5.270.0030.06720.93
5.5.260.0070.04020.64
5.5.250.0070.04020.56
5.5.240.0270.05320.23

preferences:
50.08 ms | 401 KiB | 5 Q