3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allowed_zones = timezone_identifiers_list(); var_dump(count($allowed_zones)); $allowed_zones = timezone_identifiers_list(DateTimeZone::ALL, DateTimeZone::ALL_WITH_BC); var_dump(count($allowed_zones)); $allowed_zones = timezone_identifiers_list(DateTimeZone::ALL_WITH_BC); var_dump(count($allowed_zones));

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.0100.01018.11
8.4.10.0070.01423.95
8.3.150.0070.01317.32
8.3.140.0110.00716.84
8.3.130.0100.01016.92
8.3.120.0030.00620.75
8.3.110.0030.00620.94
8.3.100.0030.01318.56
8.3.90.0050.00326.77
8.3.80.0030.00616.75
8.3.70.0070.01116.63
8.3.60.0130.00316.85
8.3.50.0120.00618.38
8.3.40.0070.00720.32
8.3.30.0070.00718.84
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.260.0080.00020.65
8.2.250.0070.01018.90
8.2.240.0030.00619.16
8.2.230.0100.00022.58
8.2.220.0030.01324.06
8.2.210.0040.00426.77
8.2.200.0000.00918.54
8.2.190.0090.00616.88
8.2.180.0140.00725.92
8.2.170.0090.00618.93
8.2.160.0080.00822.96
8.2.150.0030.00525.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0070.00321.18
8.2.100.0130.00018.16
8.2.90.0090.00018.28
8.2.80.0080.00018.18
8.2.70.0060.00318.30
8.2.60.0000.00818.46
8.2.50.0040.00418.05
8.2.40.0030.00518.41
8.2.30.0060.00318.52
8.2.20.0060.00319.64
8.2.10.0020.00518.42
8.2.00.0000.00819.60
8.1.310.0080.00017.01
8.1.300.0040.00420.29
8.1.290.0040.00430.84
8.1.280.0000.01525.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00023.96
8.1.230.0040.00722.69
8.1.220.0030.00618.14
8.1.210.0000.00818.77
8.1.200.0100.00017.98
8.1.190.0030.00617.63
8.1.180.0000.00818.10
8.1.170.0030.00517.85
8.1.160.0040.00419.41
8.1.150.0090.00019.04
8.1.140.0040.00417.91
8.1.130.0000.00719.29
8.1.120.0040.00417.91
8.1.110.0040.00417.89
8.1.100.0000.00717.92
8.1.90.0170.00017.87
8.1.80.0140.00317.85
8.1.70.0180.00017.88
8.1.60.0160.00417.93
8.1.50.0210.00017.95
8.1.40.0150.00417.90
8.1.30.0170.00318.05
8.1.20.0210.00017.93
8.1.10.0120.00817.88
8.1.00.0190.00317.63
8.0.300.0040.00419.76
8.0.290.0000.00817.23
8.0.280.0050.00319.16
8.0.270.0020.00517.58
8.0.260.0040.00419.07
8.0.250.0070.00017.70
8.0.240.0070.00017.71
8.0.230.0030.00517.54
8.0.220.0080.00817.54
8.0.210.0080.00817.40
8.0.200.0050.01117.69
8.0.190.0100.00717.55
8.0.180.0170.00017.60
8.0.170.0040.01317.70
8.0.160.0130.00217.70
8.0.150.0150.00017.60
8.0.140.0080.00817.54
8.0.130.0130.00317.63
8.0.120.0160.00017.59
8.0.110.0090.00617.70
8.0.100.0180.00017.61
8.0.90.0140.00317.65
8.0.80.0120.00517.67
8.0.70.0080.00817.57
8.0.60.0120.00417.51
8.0.50.0130.00317.68
8.0.30.0130.00517.64
8.0.20.0100.00717.58
8.0.10.0110.00617.80
7.4.330.0020.00215.55
7.4.320.0030.00317.27
7.4.300.0140.00417.10
7.4.290.0150.00317.20
7.4.280.0060.01217.27
7.4.270.0150.00417.22
7.4.260.0140.00317.18
7.4.250.0170.00017.10
7.4.240.0140.00317.15
7.4.230.0120.01017.16
7.4.220.0130.00317.25
7.4.210.0120.00417.09
7.4.200.0120.00417.17
7.4.190.0080.00817.31
7.4.180.0160.00017.20
7.4.160.0110.00517.31
7.4.150.0160.00017.09
7.4.140.0150.00017.11
7.4.130.0150.00017.10
7.4.120.0160.00017.15
7.4.110.0090.00617.11
7.4.100.0120.00317.29
7.4.90.0090.00617.05
7.4.80.0080.00717.02
7.4.70.0050.01017.16
7.4.60.0090.00717.14
7.4.50.0090.00617.02
7.4.40.0140.00017.05
7.4.30.0090.00617.06
7.4.20.0090.00617.15
7.4.10.0050.01017.13
7.4.00.0130.00217.05

preferences:
57.24 ms | 403 KiB | 5 Q