3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offset = (660*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.0090.01216.75
8.3.50.0060.00922.12
8.3.40.0060.00918.87
8.3.30.0070.00719.09
8.3.20.0070.00020.33
8.3.10.0080.00023.65
8.3.00.0080.00020.87
8.2.180.0170.00318.41
8.2.170.0090.00622.96
8.2.160.0070.00720.32
8.2.150.0080.00024.18
8.2.140.0190.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00520.76
8.2.110.0090.00020.45
8.2.100.0080.00419.64
8.2.90.0040.00419.07
8.2.80.0050.00317.97
8.2.70.0070.00317.75
8.2.60.0000.00818.04
8.2.50.0000.00818.07
8.2.40.0050.00319.89
8.2.30.0060.00318.30
8.2.20.0050.00317.99
8.2.10.0070.00018.36
8.2.00.0000.00818.02
8.1.280.0170.00325.92
8.1.270.0130.00323.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.77
8.1.230.0110.00020.97
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.48
8.1.190.0080.00017.48
8.1.180.0090.00019.26
8.1.170.0040.00418.68
8.1.160.0030.00522.01
8.1.150.0050.00318.79
8.1.140.0050.00517.76
8.1.130.0000.00718.01
8.1.120.0050.00317.70
8.1.110.0000.00717.70
8.1.100.0000.00717.58
8.1.90.0050.00217.71
8.1.80.0040.00417.68
8.1.70.0030.00317.61
8.1.60.0040.00417.79
8.1.50.0040.00417.59
8.1.40.0030.00617.61
8.1.30.0000.00817.73
8.1.20.0040.00417.81
8.1.10.0070.00017.63
8.1.00.0030.00517.58
8.0.300.0040.00418.77
8.0.290.0000.00717.00
8.0.280.0040.00418.43
8.0.270.0030.00617.42
8.0.260.0060.00017.36
8.0.250.0070.00017.23
8.0.240.0050.00317.21
8.0.230.0030.00317.20
8.0.220.0000.00717.15
8.0.210.0040.00417.10
8.0.200.0000.00717.20
8.0.190.0000.00817.16
8.0.180.0000.00717.06
8.0.170.0040.00417.19
8.0.160.0040.00417.24
8.0.150.0000.00717.13
8.0.140.0090.00617.06
8.0.130.0000.00713.52
8.0.120.0000.00817.07
8.0.110.0040.00417.13
8.0.100.0000.00817.04
8.0.90.0050.00317.13
8.0.80.0060.01217.09
8.0.70.0080.00017.16
8.0.60.0040.00417.19
8.0.50.0040.00417.16
8.0.30.0050.01317.29
8.0.20.0140.00617.40
8.0.10.0000.00717.21
8.0.00.0140.00516.93
7.4.330.0000.00615.21
7.4.320.0060.00016.69
7.4.300.0030.00316.66
7.4.290.0030.00316.78
7.4.280.0040.00416.76
7.4.270.0030.00516.67
7.4.260.0060.00316.70
7.4.250.0030.00616.55
7.4.240.0040.00316.73
7.4.230.0000.00716.56
7.4.220.0060.01116.66
7.4.210.0060.01016.64
7.4.200.0030.00516.56
7.4.190.0000.00716.91
7.4.160.0230.00016.61
7.4.150.0090.00917.40
7.4.140.0060.01017.86
7.4.130.0090.00716.79
7.4.120.0090.00816.61
7.4.110.0070.01016.58
7.4.100.0140.00916.68
7.4.90.0040.01416.65
7.4.80.0100.01016.89
7.4.70.0130.00316.53
7.4.60.0060.01016.79
7.4.50.0000.00716.67
7.4.40.0100.00616.54
7.4.30.0110.00616.83
7.4.00.0070.01015.04
7.3.330.0000.00513.19
7.3.320.0030.00313.05
7.3.310.0030.00316.33
7.3.300.0070.00016.33
7.3.290.0060.00916.37
7.3.280.0080.01016.36
7.3.270.0060.01117.40
7.3.260.0120.00916.45
7.3.250.0100.01016.46
7.3.240.0090.00916.37
7.3.230.0100.00716.57
7.3.210.0120.00616.68
7.3.200.0090.00919.39
7.3.190.0150.00616.32
7.3.180.0120.00316.39
7.3.170.0100.00916.47
7.3.160.0070.01816.43
7.3.120.0070.00715.14
7.2.330.0110.00816.97
7.2.320.0110.00716.98
7.2.310.0080.00916.58
7.2.300.0190.00016.73
7.2.290.0170.00616.93
7.2.60.0030.00716.80
7.2.00.0040.00819.71
7.1.200.0090.00315.56
7.1.100.0150.00318.49
7.1.70.0070.00717.42
7.1.60.0080.00819.46
7.1.50.0040.01917.13
7.1.00.0100.07022.34
7.0.200.0070.00716.91
7.0.140.0000.07722.07
7.0.60.0030.08319.86
7.0.50.0030.04017.93
7.0.40.0070.05320.27
7.0.30.0370.07320.30
7.0.20.0200.04320.00
7.0.10.0030.08720.19
7.0.00.0100.05320.00
5.6.280.0070.09021.06
5.6.210.0100.05720.50
5.6.200.0000.05718.11
5.6.190.0070.05320.41
5.6.180.0030.07720.45
5.6.170.0270.04020.46
5.6.160.0100.08320.49
5.6.150.0100.07718.12
5.6.140.0030.04018.20
5.6.130.0030.05018.17
5.6.120.0070.07721.13
5.6.110.0030.04021.13
5.6.100.0030.08021.03
5.6.90.0070.04321.05
5.6.80.0030.08320.53
5.5.350.0130.07720.33
5.5.340.0070.05317.98
5.5.330.0000.05320.13
5.5.320.0300.08020.35
5.5.310.0270.07020.29
5.5.300.0070.04018.01
5.5.290.0000.04717.90
5.5.280.0030.07020.79
5.5.270.0130.08720.83
5.5.260.0070.07720.95
5.5.250.0070.08320.61
5.5.240.0000.07020.15
5.4.450.0730.05719.28
5.4.440.0800.06319.52
5.4.430.0930.05319.16
5.4.420.0800.06719.42
5.4.410.0770.07019.05
5.4.400.1100.05719.20
5.4.390.1030.05318.83
5.4.380.0100.05718.55
5.4.370.0070.05718.54
5.4.360.0030.06018.69
5.4.350.0100.06018.70
5.4.340.0230.06318.72
5.4.320.0050.04012.46
5.4.310.0060.03912.45
5.4.300.0030.03912.45
5.4.290.0070.05112.45
5.4.280.0120.03912.35
5.4.270.0060.03712.35
5.4.260.0100.03412.35
5.4.250.0040.04112.35
5.4.240.0060.03912.35
5.4.230.0070.03912.34
5.4.220.0090.03512.34
5.4.210.0080.03712.34
5.4.200.0050.04212.34
5.4.190.0050.03912.34
5.4.180.0100.03412.34
5.4.170.0060.03812.35
5.4.160.0050.03912.35
5.4.150.0080.03512.34
5.4.140.0070.03812.02
5.4.130.0050.03712.02
5.4.120.0050.03711.97
5.4.110.0090.03311.96
5.4.100.0030.03811.96
5.4.90.0070.03511.96
5.4.80.0100.03811.97
5.4.70.0040.03811.96
5.4.60.0020.03911.96
5.4.50.0050.03511.96
5.4.40.0040.03911.95
5.4.30.0050.03611.95
5.4.20.0060.03511.95
5.4.10.0060.04311.95
5.4.00.0040.04011.44
5.3.290.0060.03812.80
5.3.280.0100.03412.71
5.3.270.0070.03812.72
5.3.260.0050.04112.72
5.3.250.0050.04412.72
5.3.240.0100.04212.72
5.3.230.0080.03612.70
5.3.220.0060.03712.68
5.3.210.0080.03912.68
5.3.200.0080.05012.68
5.3.190.0110.05412.68
5.3.180.0090.05712.67
5.3.170.0070.05412.67
5.3.160.0060.03812.68
5.3.150.0040.03812.67
5.3.140.0030.03912.66
5.3.130.0050.04112.66
5.3.120.0020.04312.66
5.3.110.0060.04012.66
5.3.100.0040.03912.12
5.3.90.0060.03912.08
5.3.80.0050.03712.07
5.3.70.0070.03412.08
5.3.60.0040.03712.06
5.3.50.0050.03612.00
5.3.40.0080.03412.00
5.3.30.0050.03611.95
5.3.20.0070.03311.72
5.3.10.0080.03311.69
5.3.00.0060.03711.68
5.2.170.0030.0319.18
5.2.160.0050.0299.18
5.2.150.0060.0299.18
5.2.140.0070.0279.18
5.2.130.0040.0319.14
5.2.120.0030.0319.14
5.2.110.0060.0279.15
5.2.100.0020.0309.14
5.2.90.0030.0309.14
5.2.80.0030.0319.14
5.2.70.0030.0339.14
5.2.60.0030.0329.09
5.2.50.0060.0309.06
5.2.40.0050.0349.04
5.2.30.0060.0289.01
5.2.20.0020.0319.00
5.2.10.0060.0268.92
5.2.00.0000.0438.79
5.1.60.0020.0278.07
5.1.50.0050.0268.06
5.1.40.0040.0408.05
5.1.30.0040.0308.39
5.1.20.0080.0378.41
5.1.10.0070.0248.14
5.1.00.0010.0398.14
5.0.50.0050.0206.62
5.0.40.0020.0226.48
5.0.30.0040.0326.29
5.0.20.0020.0226.27
5.0.10.0050.0346.24
5.0.00.0060.0426.23
4.4.90.0040.0444.78
4.4.80.0080.0314.76
4.4.70.0080.0204.75
4.4.60.0010.0244.76
4.4.50.0020.0244.77
4.4.40.0020.0274.71
4.4.30.0020.0164.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0000.0284.76
4.3.110.0040.0204.67
4.3.100.0050.0164.66
4.3.90.0040.0214.64
4.3.80.0020.0344.58
4.3.70.0080.0174.63
4.3.60.0040.0204.63
4.3.50.0010.0234.63
4.3.40.0040.0314.54
4.3.30.0050.0203.28
4.3.20.0040.0213.26
4.3.10.0010.0233.22
4.3.00.0000.0236.92

preferences:
40.37 ms | 401 KiB | 5 Q