3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tzString = 'Europe/London'; $tz = new \DateTimeZone($tzString); echo $tz->getOffset(new \DateTime());

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.4.20.0040.00419.72
8.4.10.0030.00619.55
8.3.150.0100.01017.07
8.3.140.0060.00317.10
8.3.130.0050.00316.47
8.3.120.0060.00320.54
8.3.110.0030.00620.94
8.3.100.0040.00418.29
8.3.90.0110.00426.77
8.3.80.0040.00416.63
8.3.70.0090.00616.75
8.3.60.0070.00716.75
8.3.50.0160.00522.11
8.3.40.0060.00918.64
8.3.30.0060.01318.97
8.3.20.0080.00020.38
8.3.10.0080.00020.63
8.3.00.0040.00421.60
8.2.270.0040.00417.03
8.2.260.0070.01117.38
8.2.250.0090.00618.73
8.2.240.0060.00917.25
8.2.230.0030.00522.58
8.2.220.0080.00024.06
8.2.210.0110.00326.77
8.2.200.0030.00616.50
8.2.190.0170.00316.75
8.2.180.0100.00718.54
8.2.170.0070.00722.96
8.2.160.0110.00419.45
8.2.150.0100.00724.18
8.2.140.0000.00724.66
8.2.130.0080.00022.09
8.2.120.0030.00526.35
8.2.110.0120.00620.24
8.2.100.0040.00817.78
8.2.90.0000.00819.39
8.2.80.0050.00317.97
8.2.70.0060.00317.88
8.2.60.0000.00818.05
8.2.50.0000.00818.10
8.2.40.0000.00720.46
8.2.30.0040.00419.33
8.2.20.0080.00018.05
8.2.10.0030.00518.12
8.2.00.0070.00017.74
8.1.310.0000.00818.34
8.1.300.0030.00616.09
8.1.290.0030.00630.84
8.1.280.0170.00025.92
8.1.270.0060.00323.89
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0060.00619.39
8.1.230.0000.01120.32
8.1.220.0040.00417.75
8.1.210.0060.00318.77
8.1.200.0060.00317.50
8.1.190.0030.00617.23
8.1.180.0070.00020.25
8.1.170.0000.00818.70
8.1.160.0070.00022.06
8.1.150.0070.00018.93
8.1.140.0040.00419.65
8.1.130.0040.00417.57
8.1.120.0070.00017.52
8.1.110.0070.00017.49
8.1.100.0050.00217.55
8.1.90.0040.00417.46
8.1.80.0000.00717.56
8.1.70.0070.00017.60
8.1.60.0000.00817.65
8.1.50.0000.00917.59
8.1.40.0000.00817.55
8.1.30.0000.00817.74
8.1.20.0070.00017.63
8.1.10.0050.00217.70
8.1.00.0000.00817.55
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00818.57
8.0.270.0000.00716.98
8.0.260.0000.00617.43
8.0.250.0030.00317.27
8.0.240.0000.00717.19
8.0.230.0030.00317.13
8.0.220.0070.00017.09
8.0.210.0000.00717.13
8.0.200.0030.00517.07
8.0.190.0040.00417.18
8.0.180.0080.00017.17
8.0.170.0040.00417.13
8.0.160.0000.00716.98
8.0.150.0000.00717.02
8.0.140.0040.00416.93
8.0.130.0060.00013.47
8.0.120.0030.00517.02
8.0.110.0000.00716.99
8.0.100.0040.00416.95
8.0.90.0050.00216.98
8.0.80.0060.00917.07
8.0.70.0000.00916.96
8.0.60.0050.00216.91
8.0.50.0040.00417.14
8.0.30.0080.01217.32
8.0.20.0090.00917.44
8.0.10.0030.00517.23
8.0.00.0030.01417.17
7.4.330.0050.00015.19
7.4.320.0030.00316.74
7.4.300.0000.00616.57
7.4.290.0070.00016.70
7.4.280.0040.00616.67
7.4.270.0060.00316.65
7.4.260.0030.00316.71
7.4.250.0050.00316.59
7.4.240.0000.00816.55
7.4.230.0000.00716.84
7.4.220.0100.01016.55
7.4.210.0070.01116.68
7.4.200.0000.00816.80
7.4.160.0120.00616.70
7.4.150.0100.00717.40
7.4.140.0130.00817.86
7.4.130.0120.01016.61
7.4.120.0040.01216.75
7.4.110.0160.00016.76
7.4.100.0110.00816.80
7.4.90.0090.00916.60
7.4.80.0110.00618.01
7.4.70.0120.00516.58
7.4.60.0060.01216.65
7.4.50.0110.00516.59
7.4.40.0050.01116.65
7.4.30.0120.00516.73
7.4.20.0000.01716.61
7.4.10.0100.00915.63
7.4.00.0080.00915.56
7.3.330.0050.00415.86
7.3.320.0050.00013.16
7.3.310.0030.00316.22
7.3.300.0080.00016.34
7.3.290.0070.00916.33
7.3.280.0110.00616.36
7.3.270.0070.01117.40
7.3.260.0120.01016.34
7.3.250.0070.01216.40
7.3.240.0130.00516.47
7.3.230.0060.01116.52
7.3.220.0100.00716.59
7.3.210.0100.00716.57
7.3.200.0070.00816.51
7.3.190.0090.00716.44
7.3.180.0130.00316.42
7.3.170.0080.00916.41
7.3.160.0090.01116.45
7.3.150.0130.01016.58
7.3.140.0040.01216.40
7.3.130.0080.01115.46
7.3.120.0090.01015.53
7.3.110.0070.01015.38
7.3.100.0070.01015.48
7.3.90.0050.01215.45
7.3.80.0080.00815.49
7.3.70.0060.00815.48
7.3.60.0080.00715.51
7.3.50.0060.01015.55
7.3.40.0050.01115.49
7.3.30.0090.00915.52
7.3.20.0070.01016.64
7.3.10.0080.00716.63
7.3.00.0090.00916.68
7.2.340.0160.00016.67
7.2.330.0110.00716.69
7.2.320.0090.00717.04
7.2.310.0090.00716.93
7.2.300.0090.01016.79
7.2.290.0100.00716.91
7.2.280.0070.01016.94
7.2.270.0090.00916.51
7.2.260.0080.01115.84
7.2.250.0040.01215.82
7.2.240.0050.01115.70
7.2.230.0080.01015.57
7.2.220.0060.01115.83
7.2.210.0110.00615.69
7.2.200.0080.00815.72
7.2.190.0090.00915.55
7.2.180.0100.00915.62
7.2.170.0060.01115.77
7.2.160.0110.00515.80
7.2.150.0070.00916.98
7.2.140.0110.00516.89
7.2.130.0090.00916.94
7.2.120.0110.01116.95
7.2.110.0090.00716.94
7.2.100.0130.00516.97
7.2.90.0070.01017.05
7.2.80.0130.00516.89
7.2.70.0130.00516.96
7.2.60.0080.00917.02
7.2.50.0120.00816.92
7.2.40.0130.00516.96
7.2.30.0090.01017.03
7.2.20.0150.00816.89
7.2.10.0110.00717.08
7.2.00.0120.01017.44
7.1.330.0100.00915.78
7.1.320.0120.00915.83
7.1.310.0120.00715.87
7.1.300.0130.00815.76
7.1.290.0140.00815.84
7.1.280.0110.01215.80
7.1.270.0150.00515.78
7.1.260.0110.01015.87
7.1.250.0140.00715.68
7.1.240.0110.00815.71
7.1.230.0190.00715.79
7.1.220.0160.00715.89
7.1.210.0100.00715.82
7.1.200.0100.01015.77
7.1.190.0150.00715.85
7.1.180.0170.00515.75
7.1.170.0130.00815.79
7.1.160.0110.00815.64
7.1.150.0140.00515.72
7.1.140.0120.00715.76
7.1.130.0140.00715.83
7.1.120.0110.00715.85
7.1.110.0130.00915.86
7.1.100.0120.00715.80
7.1.90.0140.00615.80
7.1.80.0140.00715.86
7.1.70.0120.01116.13
7.1.60.0140.00416.04
7.1.50.0190.00715.78
7.1.40.0260.00815.93
7.1.30.0160.00515.81
7.1.20.0170.00815.84
7.1.10.0130.00715.84
7.1.00.0160.01917.13
7.0.330.0110.00815.50
7.0.320.0130.00815.46
7.0.310.0130.00615.53
7.0.300.0150.00515.60
7.0.290.0090.00815.53
7.0.280.0090.01315.65
7.0.270.0120.00715.53
7.0.260.0150.00415.57
7.0.250.0120.00715.55
7.0.240.0090.00615.57
7.0.230.0200.00715.52
7.0.220.0110.00715.49
7.0.210.0130.00615.46
7.0.200.0120.00615.52
7.0.190.0140.00615.57
7.0.180.0110.01015.48
7.0.170.0140.00415.57
7.0.160.0120.00615.50
7.0.150.0120.00715.60
7.0.140.0110.00715.55
7.0.130.0160.00815.49
7.0.120.0100.00815.67
7.0.110.0210.01716.43
7.0.100.0140.01416.53
7.0.90.0150.01816.52
7.0.80.0190.01516.54
7.0.70.0190.01516.44
7.0.60.0160.01816.49
7.0.50.0160.01716.46
7.0.40.0140.02015.58
7.0.30.0130.02015.54
7.0.20.0110.01915.54
7.0.10.0160.01415.63
7.0.00.0110.01915.67
5.6.400.0110.01015.27
5.6.390.0110.00915.23
5.6.380.0130.00515.15
5.6.370.0110.00815.10
5.6.360.0090.00815.12
5.6.350.0070.01214.95
5.6.340.0100.00914.86
5.6.330.0100.00715.03
5.6.320.0100.00814.99
5.6.310.0090.00915.00
5.6.300.0100.00915.03
5.6.290.0100.00815.19
5.6.280.0070.01115.24
5.6.270.0120.00515.03
5.6.260.0110.01516.23
5.6.250.0100.01716.23
5.6.240.0120.01516.18
5.6.230.0070.01816.37
5.6.220.0110.01516.28
5.6.210.0130.01916.20
5.6.200.0090.01916.17
5.6.190.0080.01816.25
5.6.180.0100.01716.11
5.6.170.0090.02016.31
5.6.160.0080.01816.26
5.6.150.0050.02316.19
5.6.140.0080.02116.20
5.6.130.0090.02016.25
5.6.120.0060.02016.24
5.6.110.0090.01816.09
5.6.100.0120.01516.11
5.6.90.0100.01616.21
5.6.80.0110.01916.06
5.6.70.0070.02116.01
5.6.60.0070.01716.04
5.6.50.0100.01915.98
5.6.40.0090.01616.01
5.6.30.0120.01915.94
5.6.20.0120.02016.08
5.6.10.0090.01616.04
5.6.00.0100.01616.02
5.5.380.0120.01216.00
5.5.370.0220.00715.86
5.5.360.0120.01615.95
5.5.350.0230.00716.14
5.5.340.0310.02116.05
5.5.330.0130.01316.16
5.5.320.0220.00815.91
5.5.310.0220.01315.98
5.5.300.0150.01916.04
5.5.290.0270.00716.09
5.5.280.0150.01615.84
5.5.270.0210.00916.05
5.5.260.0150.01515.87
5.5.250.0220.00615.80
5.5.240.0210.00715.80
5.5.230.0230.00916.20
5.5.220.0140.01715.93
5.5.210.0120.01515.63
5.5.200.0180.02116.07
5.5.190.0170.01316.03
5.5.180.0180.01116.07
5.5.170.0200.00815.87
5.5.160.0270.00615.76
5.5.150.0150.01515.71
5.5.140.0200.01015.84
5.5.130.0090.01815.95
5.5.120.0180.00915.82
5.5.110.0230.00415.90
5.5.100.0160.01115.75
5.5.90.0150.01215.99
5.5.80.0230.01015.95
5.5.70.0210.00815.96
5.5.60.0200.00715.91
5.5.50.0200.00915.90
5.5.40.0150.01915.89
5.5.30.0180.00915.93
5.5.20.0260.01016.14
5.5.10.0230.00915.93
5.5.00.0220.00715.57
5.4.450.0180.00612.74
5.4.440.0210.00412.75
5.4.430.0160.00812.70
5.4.420.0150.00612.66
5.4.410.0110.01112.62
5.4.400.0150.01012.82
5.4.390.0130.01312.71
5.4.380.0190.00812.61
5.4.370.0120.00912.59
5.4.360.0240.00312.58
5.4.350.0230.00012.68
5.4.340.0190.00312.56
5.4.330.0180.00912.55
5.4.320.0150.00812.81
5.4.310.0170.00412.67
5.4.300.0150.00712.54
5.4.290.0170.00412.68
5.4.280.0190.00412.55
5.4.270.0120.00912.85
5.4.260.0160.00612.82
5.4.250.0150.00812.68
5.4.240.0130.01312.77
5.4.230.0230.00012.61
5.4.220.0100.01012.87
5.4.210.0130.00912.53
5.4.200.0130.00812.82
5.4.190.0190.00912.75
5.4.180.0250.00012.39
5.4.170.0140.00912.67
5.4.160.0150.00712.56
5.4.150.0110.01112.56
5.4.140.0110.01112.59
5.4.130.0190.00312.80
5.4.120.0180.00512.95
5.4.110.0160.00712.69
5.4.100.0160.00612.71
5.4.90.0160.00612.60
5.4.80.0270.00012.57
5.4.70.0170.00412.72
5.4.60.0110.01112.64
5.4.50.0100.01612.66
5.4.40.0100.01512.81
5.4.30.0160.00812.66
5.4.20.0170.00712.60
5.4.10.0130.00912.78
5.4.00.0200.00412.54
5.3.290.0150.00913.28
5.3.280.0190.00413.32
5.3.270.0150.00713.45
5.3.260.0120.01213.37
5.3.250.0170.00713.24
5.3.240.0100.01313.11
5.3.230.0150.00813.29
5.3.220.0100.01412.99
5.3.210.0170.00713.10
5.3.200.0130.01013.02
5.3.190.0190.00613.03
5.3.180.0130.01013.35
5.3.170.0200.00713.16
5.3.160.0180.00613.24
5.3.150.0200.00813.33
5.3.140.0250.00013.27
5.3.130.0200.00413.27
5.3.120.0160.00813.28
5.3.110.0190.00513.28
5.3.100.0150.00613.09
5.3.90.0140.00713.23
5.3.80.0160.00513.04
5.3.70.0150.00913.31
5.3.60.0100.01313.21
5.3.50.0100.01513.11
5.3.40.0040.01713.06
5.3.30.0190.00613.12
5.3.20.0050.02013.07
5.3.10.0140.01112.79
5.3.00.0120.00812.88
5.2.170.0130.00612.27
5.2.160.0130.00512.27
5.2.150.0140.00312.46
5.2.140.0090.00912.27
5.2.130.0160.00612.27
5.2.120.0200.00012.27
5.2.110.0090.01012.27
5.2.100.0110.00812.27
5.2.90.0070.01112.27
5.2.80.0140.00512.27
5.2.70.0150.00312.27
5.2.60.0110.00712.27
5.2.50.0090.00912.27
5.2.40.0070.01012.27
5.2.30.0110.00712.27
5.2.20.0120.00612.27
5.2.10.0080.01012.27
5.2.00.0150.00312.27
5.1.60.0090.00612.27
5.1.50.0080.00812.27
5.1.40.0080.01212.27
5.1.30.0070.01312.27
5.1.20.0140.00612.27
5.1.10.0130.00712.27
5.1.00.0140.00312.27
5.0.50.0160.00412.27
5.0.40.0090.00612.27
5.0.30.0100.00312.27
5.0.20.0060.00912.27
5.0.10.0060.00712.27
5.0.00.0130.00312.27
4.4.90.0040.00412.27
4.4.80.0090.00012.27
4.4.70.0090.00012.27
4.4.60.0000.00912.27
4.4.50.0080.00012.27
4.4.40.0070.00312.27
4.4.30.0050.00512.27
4.4.20.0060.00312.27
4.4.10.0060.00612.27
4.4.00.0100.00012.27
4.3.110.0070.00212.27
4.3.100.0040.00412.27
4.3.90.0110.00012.27
4.3.80.0080.00312.27
4.3.70.0040.00712.27
4.3.60.0050.00512.27
4.3.50.0090.00012.27
4.3.40.0040.00412.27
4.3.30.0070.00012.27
4.3.20.0000.00712.27
4.3.10.0070.00012.27
4.3.00.0000.00712.27

preferences:
30.37 ms | 403 KiB | 5 Q