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.0080.00816.75
8.3.50.0090.00618.23
8.3.40.0120.00319.05
8.3.30.0150.00319.22
8.3.20.0040.00420.34
8.3.10.0000.00823.52
8.3.00.0040.00419.18
8.2.180.0110.00418.79
8.2.170.0040.01222.96
8.2.160.0070.00720.52
8.2.150.0000.00824.18
8.2.140.0070.00324.66
8.2.130.0000.00826.16
8.2.120.0000.00820.73
8.2.110.0140.00719.38
8.2.100.0040.00817.84
8.2.90.0000.00919.26
8.2.80.0060.00317.97
8.2.70.0040.00417.88
8.2.60.0030.00518.04
8.2.50.0090.00018.07
8.2.40.0080.00020.01
8.2.30.0060.00318.34
8.2.20.0000.00819.71
8.2.10.0070.00018.04
8.2.00.0030.00618.03
8.1.280.0170.00325.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00021.25
8.1.230.0090.00317.52
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0000.00817.48
8.1.190.0030.00617.35
8.1.180.0050.00318.10
8.1.170.0040.00418.49
8.1.160.0040.00421.93
8.1.150.0000.00718.76
8.1.140.0000.00717.48
8.1.130.0040.00417.84
8.1.120.0000.00717.54
8.1.110.0040.00417.64
8.1.100.0040.00417.59
8.1.90.0040.00417.54
8.1.80.0030.00517.54
8.1.70.0040.00417.57
8.1.60.0040.00417.73
8.1.50.0040.00417.68
8.1.40.0030.00617.71
8.1.30.0000.00817.70
8.1.20.0040.00417.71
8.1.10.0040.00417.70
8.1.00.0030.00617.74
8.0.300.0030.00718.77
8.0.290.0040.00416.88
8.0.280.0030.00518.43
8.0.270.0070.00017.25
8.0.260.0050.00317.27
8.0.250.0000.00717.09
8.0.240.0000.00717.20
8.0.230.0000.00817.23
8.0.220.0000.00717.15
8.0.210.0030.00517.07
8.0.200.0080.00017.01
8.0.190.0050.00317.12
8.0.180.0000.00817.20
8.0.170.0000.00717.08
8.0.160.0030.00417.08
8.0.150.0040.00416.98
8.0.140.0060.00617.09
8.0.130.0030.00613.46
8.0.120.0000.00917.09
8.0.110.0000.00717.14
8.0.100.0040.00417.14
8.0.90.0050.00217.19
8.0.80.0090.00617.15
8.0.70.0050.00217.02
8.0.60.0040.00417.16
8.0.50.0040.00417.09
8.0.30.0140.00917.26
8.0.20.0070.01317.41
8.0.10.0070.00017.11
8.0.00.0080.01117.08
7.4.330.0000.00515.18
7.4.320.0030.00316.63
7.4.300.0030.00316.68
7.4.290.0030.00316.77
7.4.280.0040.00416.73
7.4.270.0030.00316.68
7.4.260.0000.00716.55
7.4.250.0060.00316.63
7.4.240.0040.00316.77
7.4.230.0020.00516.87
7.4.220.0070.01016.76
7.4.210.0090.00716.77
7.4.200.0000.00716.85
7.4.190.0000.00716.84
7.4.160.0100.00716.55
7.4.150.0090.00917.40
7.4.140.0140.00317.86
7.4.130.0080.01416.67
7.4.120.0070.01016.71
7.4.110.0140.00316.68
7.4.100.0100.01316.88
7.4.90.0150.00516.75
7.4.80.0160.00319.39
7.4.70.0120.00416.75
7.4.60.0150.00416.66
7.4.50.0040.00416.91
7.4.40.0070.01016.71
7.4.30.0110.00716.79
7.4.00.0060.00915.16
7.3.330.0000.00513.30
7.3.320.0030.00313.39
7.3.310.0000.00816.50
7.3.300.0070.00016.39
7.3.290.0100.01216.37
7.3.280.0110.00816.42
7.3.270.0030.01417.40
7.3.260.0090.01216.53
7.3.250.0080.00816.64
7.3.240.0160.00616.43
7.3.230.0100.00716.51
7.3.210.0080.01416.61
7.3.200.0160.00719.39
7.3.190.0030.01616.50
7.3.180.0080.00816.73
7.3.170.0100.00616.52
7.3.160.0080.00816.54
7.3.120.0000.01515.11
7.2.330.0030.01416.79
7.2.320.0190.00316.80
7.2.310.0070.01016.72
7.2.300.0130.00316.73
7.2.290.0090.01116.59
7.2.60.0060.00916.74
7.2.00.0040.01119.61
7.1.200.0050.00515.83
7.1.100.0090.00618.28
7.1.70.0080.00317.42
7.1.60.0070.01819.46
7.1.50.0130.00916.92
7.1.00.0130.06722.44
7.0.200.0000.01116.90
7.0.140.0030.07321.92
7.0.60.0030.04319.78
7.0.50.0030.08017.83
7.0.40.0030.04720.05
7.0.30.0230.08020.04
7.0.20.0370.06720.00
7.0.10.0100.09020.00
7.0.00.0070.08320.03
5.6.280.0030.07021.09
5.6.210.0030.04020.72
5.6.200.0030.04318.29
5.6.190.0100.07320.39
5.6.180.0500.05720.48
5.6.170.0200.03720.58
5.6.160.0070.07020.50
5.6.150.0000.05718.16
5.6.140.0070.06318.18
5.6.130.0070.05018.26
5.6.120.0030.07720.98
5.6.110.0230.06721.12
5.6.100.0200.07321.08
5.6.90.0070.08020.97
5.6.80.0200.07020.42
5.5.350.0230.04720.30
5.5.340.0030.05017.96
5.5.330.0070.05720.37
5.5.320.0000.06320.26
5.5.310.0170.04320.23
5.5.300.0070.08017.95
5.5.290.0000.06017.96
5.5.280.0130.07020.84
5.5.270.0170.04320.63
5.5.260.0070.06720.86
5.5.250.0030.04320.48
5.5.240.0100.03320.12
5.4.450.0330.05319.19
5.4.440.1070.05319.47
5.4.430.0070.06019.70
5.4.420.0870.06019.46
5.4.410.0670.06719.47
5.4.400.0700.05319.25
5.4.390.1070.06018.84
5.4.380.0330.05318.78
5.4.370.0200.05018.59
5.4.360.0470.04718.74
5.4.350.0130.04718.67
5.4.340.0400.05318.69
5.4.320.0060.03612.50
5.4.310.0040.03912.50
5.4.300.0040.03812.50
5.4.290.0170.06712.50
5.4.280.0120.05312.39
5.4.270.0060.03912.39
5.4.260.0130.05712.39
5.4.250.0050.04912.39
5.4.240.0110.05712.39
5.4.230.0150.04912.39
5.4.220.0110.05912.39
5.4.210.0110.05312.39
5.4.200.0100.05812.39
5.4.190.0110.03912.38
5.4.180.0080.04012.38
5.4.170.0080.05112.40
5.4.160.0030.04512.39
5.4.150.0150.05212.39
5.4.140.0050.04312.07
5.4.130.0120.04112.05
5.4.120.0140.04412.02
5.4.110.0050.03912.01
5.4.100.0090.03912.01
5.4.90.0060.04312.01
5.4.80.0090.06812.01
5.4.70.0090.06512.00
5.4.60.0120.07512.00
5.4.50.0170.08312.00
5.4.40.0310.09711.99
5.4.30.0140.08211.99
5.4.20.0100.05312.00
5.4.10.0110.04812.00
5.4.00.0060.05711.49
5.3.290.0080.03912.80
5.3.280.0070.05112.71
5.3.270.0110.05012.73
5.3.260.0180.07412.72
5.3.250.0080.04912.72
5.3.240.0110.04712.72
5.3.230.0140.07212.71
5.3.220.0140.08212.68
5.3.210.0110.08612.68
5.3.200.0160.08112.68
5.3.190.0160.06312.68
5.3.180.0090.05312.67
5.3.170.0100.04312.67
5.3.160.0050.05312.67
5.3.150.0090.05312.68
5.3.140.0190.08512.66
5.3.130.0190.08112.66
5.3.120.0120.06312.66
5.3.110.0130.04612.66
5.3.100.0090.04512.12
5.3.90.0070.05112.10
5.3.80.0150.04812.10
5.3.70.0070.04612.10
5.3.60.0050.04012.07
5.3.50.0060.04612.02
5.3.40.0090.04812.03
5.3.30.0050.05311.99
5.3.20.0080.04811.77
5.3.10.0080.04911.73
5.3.00.0060.03711.72
5.2.170.0070.0289.22
5.2.160.0040.0309.22
5.2.150.0030.0329.22
5.2.140.0050.0329.22
5.2.130.0080.0329.18
5.2.120.0100.0299.18
5.2.110.0040.0349.19
5.2.100.0060.0369.18
5.2.90.0050.0449.18
5.2.80.0030.0469.18
5.2.70.0070.0429.18
5.2.60.0040.0329.13
5.2.50.0070.0289.10
5.2.40.0050.0309.07
5.2.30.0060.0409.05
5.2.20.0050.0299.04
5.2.10.0090.0258.95
5.2.00.0150.0378.81
5.1.60.0040.0408.07
5.1.50.0080.0318.07
5.1.40.0020.0308.05
5.1.30.0050.0288.40
5.1.20.0030.0308.42
5.1.10.0040.0288.14
5.1.00.0060.0288.14
5.0.50.0030.0236.62
5.0.40.0070.0186.48
5.0.30.0030.0346.29
5.0.20.0040.0206.27
5.0.10.0070.0186.24
5.0.00.0050.0316.23
4.4.90.0020.0244.78
4.4.80.0030.0234.75
4.4.70.0060.0214.75
4.4.60.0050.0334.75
4.4.50.0020.0294.77
4.4.40.0060.0334.71
4.4.30.0050.0214.76
4.4.20.0050.0514.85
4.4.10.0040.0394.85
4.4.00.0150.0474.76
4.3.110.0110.0374.67
4.3.100.0080.0414.66
4.3.90.0060.0204.63
4.3.80.0090.0524.58
4.3.70.0060.0414.63
4.3.60.0070.0284.63
4.3.50.0050.0204.63
4.3.40.0090.0404.54
4.3.30.0020.0233.29
4.3.20.0010.0213.26
4.3.10.0080.0593.22
4.3.00.0030.01316.12

preferences:
53.67 ms | 400 KiB | 5 Q