3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offset = -(720*3600)/60; var_dump($offset); $orderdate = new DateTime('2005-10-10'); $timeZoneName = timezone_name_from_abbr("", $offset, 1); $orderdate->setTimezone(new DateTimezone($timeZoneName)); var_dump($orderdate->format('c e T')); $orderdate->setTimezone(new DateTimeZone('CET')); var_dump($orderdate->format('c e 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.0070.00716.62
8.3.50.0080.00722.06
8.3.40.0090.00618.95
8.3.30.0040.01119.04
8.3.20.0000.00720.22
8.3.10.0070.00023.69
8.3.00.0080.00020.84
8.2.180.0090.00618.43
8.2.170.0120.00622.96
8.2.160.0120.00320.38
8.2.150.0040.00424.18
8.2.140.0110.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00320.85
8.2.110.0100.00019.27
8.2.100.0120.00018.02
8.2.90.0080.00019.40
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0040.00418.03
8.2.50.0060.00318.07
8.2.40.0060.00318.22
8.2.30.0070.00018.34
8.2.20.0080.00017.89
8.2.10.0080.00018.24
8.2.00.0000.00818.02
8.1.280.0090.01225.92
8.1.270.0030.00623.88
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00021.48
8.1.230.0080.00317.51
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.48
8.1.190.0000.00817.35
8.1.180.0030.00518.10
8.1.170.0040.00418.72
8.1.160.0000.00821.91
8.1.150.0080.00018.84
8.1.140.0050.00217.63
8.1.130.0000.00717.93
8.1.120.0040.00417.66
8.1.110.0000.00717.59
8.1.100.0070.00017.64
8.1.90.0050.00217.57
8.1.80.0080.00017.56
8.1.70.0030.00317.56
8.1.60.0030.00617.73
8.1.50.0040.00417.71
8.1.40.0050.00317.64
8.1.30.0030.00517.71
8.1.20.0040.00417.76
8.1.10.0040.00417.79
8.1.00.0000.00817.72
8.0.300.0000.00718.77
8.0.290.0030.00517.00
8.0.280.0030.00318.37
8.0.270.0000.00717.21
8.0.260.0000.00717.37
8.0.250.0030.00317.09
8.0.240.0040.00417.08
8.0.230.0070.00017.21
8.0.220.0000.00717.17
8.0.210.0030.00417.12
8.0.200.0050.00317.17
8.0.190.0040.00417.21
8.0.180.0040.00417.05
8.0.170.0040.00417.04
8.0.160.0030.00417.16
8.0.150.0040.00417.00
8.0.140.0110.00017.13
8.0.130.0050.00313.48
8.0.120.0030.00617.10
8.0.110.0070.00017.13
8.0.100.0000.00816.97
8.0.90.0040.00417.02
8.0.80.0110.01117.16
8.0.70.0000.00716.95
8.0.60.0000.00716.97
8.0.50.0040.00417.02
8.0.30.0100.00917.28
8.0.20.0050.01317.45
8.0.10.0000.00717.24
8.0.00.0110.01016.79
7.4.330.0050.00015.10
7.4.320.0000.00616.70
7.4.300.0070.00016.80
7.4.290.0030.00316.62
7.4.280.0030.00616.75
7.4.270.0030.00316.68
7.4.260.0030.00316.57
7.4.250.0040.00416.68
7.4.240.0040.00416.65
7.4.230.0030.00316.78
7.4.220.0170.00716.69
7.4.210.0090.00716.70
7.4.200.0040.00416.66
7.4.190.0000.00716.95
7.4.160.0060.01116.63
7.4.150.0070.01017.40
7.4.140.0060.01217.86
7.4.130.0090.00916.55
7.4.120.0070.01116.79
7.4.110.0090.00916.88
7.4.100.0030.02016.53
7.4.90.0090.00916.94
7.4.80.0110.00719.39
7.4.70.0080.00816.89
7.4.60.0110.01216.74
7.4.50.0030.00616.79
7.4.40.0070.01016.64
7.4.30.0040.01316.66
7.4.00.0060.01015.32
7.3.330.0020.00213.25
7.3.320.0000.00613.25
7.3.310.0000.00716.30
7.3.300.0000.00716.39
7.3.290.0120.00316.38
7.3.280.0150.00416.47
7.3.270.0110.00717.40
7.3.260.0100.00716.57
7.3.250.0110.00516.48
7.3.240.0100.00616.69
7.3.230.0160.00016.62
7.3.210.0130.01016.54
7.3.200.0130.00919.39
7.3.190.0120.01016.51
7.3.180.0080.00816.55
7.3.170.0190.00016.73
7.3.160.0130.00316.49
7.3.120.0050.01214.80
7.3.110.0080.01114.98
7.3.100.0050.01114.98
7.3.90.0050.00714.85
7.3.80.0090.00615.14
7.3.70.0080.00815.10
7.3.60.0030.01014.78
7.3.50.0050.00915.05
7.3.40.0040.01114.89
7.3.30.0070.00514.95
7.3.20.0090.00516.70
7.3.10.0050.00816.78
7.3.00.0090.00516.64
7.2.330.0080.01116.88
7.2.320.0090.00916.75
7.2.310.0100.00716.64
7.2.300.0100.00716.66
7.2.290.0060.01816.49
7.2.250.0050.01515.18
7.2.240.0080.01115.13
7.2.230.0100.00715.16
7.2.220.0070.00715.04
7.2.210.0060.00914.97
7.2.200.0080.00814.97
7.2.190.0020.01315.05
7.2.180.0080.00615.16
7.2.170.0080.00314.98
7.2.130.0050.01016.96
7.2.120.0040.00716.87
7.2.110.0090.01016.80
7.2.100.0060.00516.75
7.2.90.0060.00917.05
7.2.80.0090.00616.76
7.2.70.0080.00716.86
7.2.60.0000.01416.91
7.2.50.0070.00717.04
7.2.40.0060.00416.95
7.2.30.0070.00716.99
7.2.20.0030.01016.97
7.2.10.0070.00517.00
7.2.00.0020.01117.70
7.1.330.0030.01015.94
7.1.320.0080.00315.91
7.1.310.0030.00815.96
7.1.300.0000.01615.72
7.1.290.0090.00415.80
7.1.280.0060.00715.88
7.1.270.0030.01015.97
7.1.260.0090.00716.01
7.1.250.0050.00515.55
7.1.200.0040.00815.89
7.1.100.0090.00918.32
7.1.70.0000.00717.05
7.1.60.0090.01619.46
7.1.50.0070.01317.18
7.1.00.0100.07022.51
7.0.200.0100.00516.89
7.0.140.0030.07022.22
7.0.60.0070.03719.92
7.0.50.0170.07017.81
7.0.40.0100.05720.40
7.0.30.0330.07720.09
7.0.20.0300.07720.16
7.0.10.0070.04320.09
7.0.00.0100.07320.20
5.6.280.0000.07721.04
5.6.210.0230.02020.62
5.6.200.0070.06718.22
5.6.190.0130.06020.47
5.6.180.0070.08020.49
5.6.170.0130.04020.54
5.6.160.0070.08320.55
5.6.150.0070.08018.29
5.6.140.0070.04018.26
5.6.130.0070.08018.18
5.6.120.0070.06720.94
5.6.110.0130.07721.01
5.6.100.0030.08021.04
5.6.90.0170.07721.03
5.6.80.0030.05720.42
5.5.350.0100.06720.43
5.5.340.0070.08318.02
5.5.330.0070.03720.35
5.5.320.0300.07320.32
5.5.310.0370.06720.34
5.5.300.0030.05718.08
5.5.290.0130.06017.99
5.5.280.0070.08020.65
5.5.270.0030.05720.67
5.5.260.0100.06320.87
5.5.250.0170.06720.77
5.5.240.0000.04020.18
5.4.450.1030.04719.59
5.4.440.0930.05719.22
5.4.430.0900.06319.58
5.4.420.0630.06019.61
5.4.410.0800.05319.05
5.4.400.0170.05719.06
5.4.390.0630.06019.15
5.4.380.0100.05318.58
5.4.370.0100.06318.67
5.4.360.0230.05318.78
5.4.350.0100.05018.73
5.4.340.0030.05718.67
5.4.320.0080.03812.51
5.4.310.0080.04612.50
5.4.300.0090.04512.50
5.4.290.0070.03712.50
5.4.280.0080.03312.40
5.4.270.0060.03612.40
5.4.260.0100.03412.39
5.4.250.0050.03912.39
5.4.240.0070.03412.40
5.4.230.0060.04512.39
5.4.220.0080.03612.39
5.4.210.0070.04012.39
5.4.200.0080.05212.39
5.4.190.0070.05312.39
5.4.180.0090.03512.39
5.4.170.0050.04212.39
5.4.160.0100.03112.39
5.4.150.0020.04012.39
5.4.140.0060.03712.07
5.4.130.0040.03712.05
5.4.120.0040.03612.02
5.4.110.0060.03612.01
5.4.100.0050.03612.01
5.4.90.0050.03812.01
5.4.80.0050.03912.01
5.4.70.0070.03412.01
5.4.60.0070.03312.00
5.4.50.0050.04312.00
5.4.40.0050.03511.99
5.4.30.0050.03612.00
5.4.20.0040.03712.00
5.4.10.0070.04012.00
5.4.00.0050.04811.48
5.3.290.0050.04412.80
5.3.280.0010.04212.71
5.3.270.0080.03612.72
5.3.260.0060.04712.72
5.3.250.0090.04512.72
5.3.240.0020.04112.72
5.3.230.0040.03912.71
5.3.220.0050.03712.68
5.3.210.0060.03912.68
5.3.200.0060.03712.68
5.3.190.0060.03812.68
5.3.180.0050.03912.68
5.3.170.0050.03812.66
5.3.160.0080.03512.68
5.3.150.0060.03912.67
5.3.140.0040.03912.66
5.3.130.0050.04812.66
5.3.120.0070.03912.66
5.3.110.0070.03812.66
5.3.100.0050.03812.12
5.3.90.0080.03712.11
5.3.80.0060.03612.09
5.3.70.0080.03512.10
5.3.60.0020.04212.08
5.3.50.0070.03612.02
5.3.40.0040.04012.02
5.3.30.0060.03611.99
5.3.20.0060.03511.77
5.3.10.0060.03411.73
5.3.00.0070.03711.73
5.2.170.0040.0329.22
5.2.160.0070.0429.22
5.2.150.0040.0469.22
5.2.140.0070.0379.22
5.2.130.0050.0299.18
5.2.120.0090.0249.18
5.2.110.0080.0269.19
5.2.100.0010.0329.18
5.2.90.0040.0289.18
5.2.80.0050.0299.18
5.2.70.0060.0299.18
5.2.60.0050.0309.13
5.2.50.0070.0289.10
5.2.40.0060.0289.08
5.2.30.0050.0319.05
5.2.20.0040.0299.05
5.2.10.0040.0288.95
5.2.00.0030.0308.81
5.1.60.0040.0238.07
5.1.50.0050.0238.07
5.1.40.0050.0228.04
5.1.30.0060.0248.39
5.1.20.0060.0258.42
5.1.10.0030.0278.14
5.1.00.0040.0268.14
5.0.50.0020.0226.62
5.0.40.0050.0176.48
5.0.30.0030.0326.29
5.0.20.0040.0196.26
5.0.10.0040.0196.24
5.0.00.0050.0296.23
4.4.90.0030.0154.77
4.4.80.0040.0144.75
4.4.70.0020.0164.75
4.4.60.0040.0144.75
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0010.0174.85
4.4.00.0010.0274.76
4.3.110.0020.0164.67
4.3.100.0020.0154.66
4.3.90.0050.0164.63
4.3.80.0020.0254.59
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0020.0164.63
4.3.40.0020.0254.54
4.3.30.0020.0163.28
4.3.20.0030.0163.26
4.3.10.0020.0233.22
4.3.00.0070.0206.92

preferences:
65.89 ms | 400 KiB | 5 Q