3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offset = -720; 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.0140.00716.63
8.3.50.0130.00522.10
8.3.40.0070.00718.91
8.3.30.0170.00019.22
8.3.20.0040.00420.36
8.3.10.0040.00423.67
8.3.00.0000.00820.88
8.2.180.0070.01118.41
8.2.170.0090.00622.96
8.2.160.0060.01120.47
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00420.84
8.2.110.0050.00522.25
8.2.100.0060.00618.03
8.2.90.0070.00019.05
8.2.80.0080.00017.97
8.2.70.0060.00317.75
8.2.60.0060.00318.04
8.2.50.0040.00418.07
8.2.40.0060.00319.94
8.2.30.0000.00818.39
8.2.20.0030.00617.87
8.2.10.0030.00518.14
8.2.00.0060.00318.07
8.1.280.0170.00325.92
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.90
8.1.230.0040.00719.03
8.1.220.0000.00817.76
8.1.210.0000.00818.77
8.1.200.0090.00017.38
8.1.190.0000.00817.48
8.1.180.0070.00319.13
8.1.170.0000.00818.51
8.1.160.0000.00722.01
8.1.150.0000.00718.75
8.1.140.0000.00717.48
8.1.130.0030.00517.93
8.1.120.0040.00417.69
8.1.110.0050.00217.62
8.1.100.0000.00717.56
8.1.90.0050.00317.61
8.1.80.0000.00717.54
8.1.70.0000.00817.52
8.1.60.0040.00417.57
8.1.50.0040.00417.57
8.1.40.0040.00417.70
8.1.30.0060.00317.78
8.1.20.0000.00817.67
8.1.10.0040.00417.78
8.1.00.0030.00517.59
8.0.300.0020.00518.77
8.0.290.0020.00517.29
8.0.280.0030.00318.48
8.0.270.0040.00417.21
8.0.260.0060.00017.41
8.0.250.0070.00017.12
8.0.240.0030.00317.25
8.0.230.0040.00417.17
8.0.220.0000.00717.06
8.0.210.0050.00317.02
8.0.200.0030.00517.20
8.0.190.0040.00417.21
8.0.180.0030.00317.15
8.0.170.0050.00317.18
8.0.160.0040.00417.01
8.0.150.0000.00816.97
8.0.140.0030.00717.12
8.0.130.0040.00613.46
8.0.120.0030.00617.07
8.0.110.0000.00717.08
8.0.100.0070.00017.12
8.0.90.0050.00217.05
8.0.80.0070.01017.11
8.0.70.0000.00817.09
8.0.60.0030.00516.90
8.0.50.0000.00716.99
8.0.30.0100.01017.14
8.0.20.0090.00917.40
8.0.10.0040.00417.19
8.0.00.0110.00716.83
7.4.330.0020.00215.00
7.4.320.0030.00316.66
7.4.300.0000.00616.80
7.4.290.0000.00616.76
7.4.280.0080.00016.77
7.4.270.0030.00316.75
7.4.260.0000.00916.65
7.4.250.0030.00516.65
7.4.240.0030.00316.65
7.4.230.0030.00316.51
7.4.220.0160.00616.80
7.4.210.0130.00316.74
7.4.200.0030.00516.87
7.4.190.0070.00016.63
7.4.160.0200.00316.63
7.4.150.0160.00317.40
7.4.140.0070.01517.86
7.4.130.0100.00716.65
7.4.120.0090.00816.64
7.4.110.0100.00716.71
7.4.100.0090.00916.68
7.4.90.0110.00716.79
7.4.80.0050.01819.39
7.4.70.0060.01016.80
7.4.60.0110.00616.59
7.4.50.0030.00616.85
7.4.40.0060.01016.65
7.4.30.0130.00316.71
7.4.00.0110.00315.16
7.3.330.0050.00013.25
7.3.320.0020.00213.14
7.3.310.0000.00716.56
7.3.300.0000.00716.39
7.3.290.0120.00316.46
7.3.280.0080.01116.46
7.3.270.0120.00617.40
7.3.260.0100.00716.45
7.3.250.0150.00516.51
7.3.240.0100.00716.51
7.3.230.0100.00716.87
7.3.210.0170.01016.30
7.3.200.0100.01319.39
7.3.190.0090.00916.60
7.3.180.0140.00716.63
7.3.170.0110.00816.56
7.3.160.0100.00716.63
7.3.120.0000.01114.79
7.2.330.0090.01216.64
7.2.320.0090.00916.80
7.2.310.0090.00916.88
7.2.300.0090.01416.57
7.2.290.0070.01116.75
7.2.60.0060.00316.89
7.2.00.0030.00919.31
7.1.200.0000.01415.65
7.1.100.0070.00718.18
7.1.70.0000.01017.05
7.1.60.0100.01419.46
7.1.50.0070.01117.13
7.1.00.0000.08022.32
7.0.200.0040.01116.95
7.0.140.0030.07322.08
7.0.60.0100.03319.97
7.0.50.0070.03717.83
7.0.40.0070.04020.20
7.0.30.0270.08320.18
7.0.20.0330.04719.99
7.0.10.0070.04020.33
7.0.00.0070.06020.04
5.6.280.0100.06720.96
5.6.210.0070.05320.61
5.6.200.0100.08018.20
5.6.190.0030.04320.52
5.6.180.0030.04020.61
5.6.170.0130.04320.56
5.6.160.0100.08320.61
5.6.150.0070.07018.28
5.6.140.0100.08018.18
5.6.130.0030.08318.27
5.6.120.0200.07021.02
5.6.110.0130.06321.02
5.6.100.0070.08721.11
5.6.90.0100.08020.97
5.6.80.0100.07020.40
5.5.350.0070.08020.45
5.5.340.0070.08017.96
5.5.330.0130.03320.27
5.5.320.0300.06320.30
5.5.310.0430.06720.29
5.5.300.0130.07317.99
5.5.290.0130.07718.02
5.5.280.0100.06720.88
5.5.270.0100.07720.84
5.5.260.0070.04020.86
5.5.250.0030.05020.68
5.5.240.0000.07320.25
5.4.450.0800.06719.17
5.4.440.0830.07019.30
5.4.430.0870.06019.16
5.4.420.0770.06019.57
5.4.410.0900.07319.25
5.4.400.0570.05718.87
5.4.390.0670.06019.14
5.4.380.0100.05018.67
5.4.370.0400.06018.48
5.4.360.0370.07318.75
5.4.350.0330.07018.67
5.4.340.0330.05018.80
5.4.320.0070.03512.50
5.4.310.0050.03712.50
5.4.300.0120.03512.50
5.4.290.0050.04112.50
5.4.280.0080.03412.39
5.4.270.0060.03712.40
5.4.260.0080.05812.39
5.4.250.0050.04412.39
5.4.240.0090.03612.40
5.4.230.0040.04412.39
5.4.220.0070.05312.39
5.4.210.0060.03612.39
5.4.200.0050.03712.39
5.4.190.0070.04312.38
5.4.180.0060.03812.38
5.4.170.0110.03512.40
5.4.160.0110.03612.39
5.4.150.0040.05412.38
5.4.140.0090.05112.07
5.4.130.0160.04112.05
5.4.120.0090.05012.02
5.4.110.0060.05412.01
5.4.100.0060.05112.01
5.4.90.0070.05312.01
5.4.80.0080.03612.01
5.4.70.0050.03912.01
5.4.60.0080.03612.01
5.4.50.0110.03512.01
5.4.40.0060.03711.99
5.4.30.0060.05011.99
5.4.20.0060.04212.00
5.4.10.0100.05212.00
5.4.00.0120.07011.48
5.3.290.0060.03912.80
5.3.280.0100.04912.71
5.3.270.0110.04512.72
5.3.260.0100.06012.72
5.3.250.0100.04412.72
5.3.240.0120.04812.72
5.3.230.0090.05012.71
5.3.220.0080.03812.68
5.3.210.0030.04412.68
5.3.200.0120.05112.68
5.3.190.0100.04912.67
5.3.180.0090.05412.67
5.3.170.0190.08212.67
5.3.160.0060.05612.68
5.3.150.0100.05212.68
5.3.140.0050.06612.66
5.3.130.0050.04612.66
5.3.120.0060.04212.66
5.3.110.0050.04012.66
5.3.100.0040.03912.12
5.3.90.0050.05212.11
5.3.80.0090.03512.09
5.3.70.0050.05312.09
5.3.60.0060.05212.08
5.3.50.0100.05312.03
5.3.40.0070.04712.03
5.3.30.0080.05211.99
5.3.20.0070.03911.77
5.3.10.0070.03811.73
5.3.00.0060.04511.72
5.2.170.0080.0389.23
5.2.160.0060.0309.23
5.2.150.0220.0509.23
5.2.140.0070.0459.22
5.2.130.0050.0449.18
5.2.120.0070.0419.18
5.2.110.0080.0409.18
5.2.100.0080.0409.18
5.2.90.0080.0369.18
5.2.80.0060.0309.18
5.2.70.0010.0349.18
5.2.60.0050.0309.13
5.2.50.0040.0309.10
5.2.40.0040.0309.07
5.2.30.0030.0339.05
5.2.20.0040.0309.04
5.2.10.0030.0308.95
5.2.00.0040.0298.81
5.1.60.0040.0238.07
5.1.50.0020.0278.06
5.1.40.0020.0278.04
5.1.30.0040.0278.39
5.1.20.0050.0268.41
5.1.10.0060.0248.14
5.1.00.0040.0258.14
5.0.50.0020.0226.62
5.0.40.0040.0196.47
5.0.30.0040.0316.29
5.0.20.0040.0196.27
5.0.10.0010.0226.24
5.0.00.0020.0326.23
4.4.90.0020.0164.78
4.4.80.0040.0144.75
4.4.70.0030.0164.76
4.4.60.0030.0164.75
4.4.50.0030.0164.77
4.4.40.0020.0274.71
4.4.30.0010.0184.75
4.4.20.0050.0134.84
4.4.10.0050.0174.85
4.4.00.0030.0344.76
4.3.110.0010.0254.67
4.3.100.0030.0194.66
4.3.90.0020.0164.64
4.3.80.0020.0274.58
4.3.70.0050.0204.63
4.3.60.0020.0214.63
4.3.50.0040.0154.63
4.3.40.0060.0314.54
4.3.30.0030.0223.28
4.3.20.0040.0213.26
4.3.10.0020.0203.22
4.3.00.0030.0206.92

preferences:
47.81 ms | 401 KiB | 5 Q