<?php
function TimeZones()
{
$timezones = array();
try {
$tz = DateTimeZone::listIdentifiers();
if (is_array($tz) && count($tz) >= 1)
$timezones = $tz;
} catch (Exception $e) {
}
return $timezones;
}
var_dump(count(TimeZones()));
- Output for 5.3.24 - 5.3.29, 5.4.14 - 5.4.20, 8.1.18 - 8.1.28, 8.2.5 - 8.2.18, 8.3.0 - 8.3.6
- int(419)
- Output for 5.6.20 - 5.6.21, 7.0.5 - 7.0.6, 8.0.26 - 8.0.30, 8.1.13 - 8.1.17, 8.2.0 - 8.2.4
- int(420)
- Output for 7.0.14, 8.0.25, 8.1.12
- int(423)
- Output for 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.14, 7.3.0 - 7.3.1, 7.4.16 - 7.4.33, 8.0.3 - 8.0.24, 8.1.0 - 8.1.11
- int(425)
- Output for 7.2.15 - 7.2.33, 7.3.2 - 7.3.33, 7.4.0 - 7.4.15, 8.0.0 - 8.0.2
- int(426)
- Output for 5.4.28 - 5.4.32, 5.5.24 - 5.5.35, 5.6.7 - 5.6.14, 5.6.19, 7.0.4
- int(417)
- Output for 5.6.15 - 5.6.18, 7.0.0 - 7.0.3
- int(418)
- Output for 5.6.28
- int(422)
- Output for 5.3.11 - 5.3.23, 5.4.1 - 5.4.13, 5.4.21 - 5.4.27, 5.4.34 - 5.4.45
- int(416)
- Output for 5.3.9 - 5.3.10, 5.4.0
- int(415)
- Output for 5.3.7 - 5.3.8
- int(413)
- Output for 5.3.6
- int(411)
- Output for 5.3.4 - 5.3.5
- int(408)
- Output for 5.3.3
- int(407)
- Output for 5.3.2
- int(406)
- Output for 5.3.1
- int(403)
- Output for 5.3.0
- int(402)
- Output for 5.2.14 - 5.2.17
- int(565)
- Output for 5.2.13
- int(564)
- Output for 5.2.12
- int(561)
- Output for 5.2.9 - 5.2.11
- int(560)
- Output for 5.2.7 - 5.2.8
- int(559)
- Output for 5.2.6
- int(557)
- Output for 5.2.5
- int(552)
- Output for 5.2.2 - 5.2.4
- int(551)
- Output for 5.2.0 - 5.2.1
- int(546)
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Class 'DateTimeZone' not found in /in/pqPtP on line 6
Process exited with code 255. - Output for 4.4.2 - 4.4.9
- Parse error: syntax error, unexpected '{' in /in/pqPtP on line 5
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
- Parse error: parse error, unexpected '{' in /in/pqPtP on line 5
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/pqPtP on line 5
Process exited with code 255.
preferences:
252.3 ms | 401 KiB | 359 Q