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));
Output for 8.2.24 - 8.2.26, 8.3.12 - 8.3.15, 8.4.1 - 8.4.2
int(418) int(418) int(597)
Output for 8.1.18 - 8.1.31, 8.2.5 - 8.2.23, 8.3.0 - 8.3.11
int(419) int(419) int(597)
Output for 8.1.14 - 8.1.17, 8.2.1 - 8.2.4
int(420) int(420) int(597)
Output for 8.0.26 - 8.0.30, 8.1.13, 8.2.0
int(420) int(420) int(596)
Output for 8.0.25, 8.1.12
int(423) int(423) int(596)
Output for 8.0.23 - 8.0.24, 8.1.10 - 8.1.11
int(425) int(425) int(596)
Output for 7.4.26 - 7.4.33, 8.0.13 - 8.0.22, 8.1.0 - 8.1.9
int(425) int(425) int(595)
Output for 7.4.16 - 7.4.25, 8.0.3 - 8.0.12
int(425) int(425) int(594)
Output for 7.4.0 - 7.4.5, 7.4.12 - 7.4.15, 8.0.1 - 8.0.2
int(426) int(426) int(594)
Output for 7.4.6 - 7.4.11
int(426) int(426) int(595)

preferences:
82.8 ms | 417 KiB | 5 Q