datetimezone.listidentifiers(3) php man page | unix.com

Man Page: datetimezone.listidentifiers

Operating Environment: php

Section: 3

DATETIMEZONE.LISTIDENTIFIERS(3) 					 1					   DATETIMEZONE.LISTIDENTIFIERS(3)

DateTimeZone::listIdentifiers - Returns a numerically indexed array containing all defined timezone identifiers

       Object oriented style

SYNOPSIS
publicstatic array DateTimeZone::listIdentifiers NULL ([int $what = DateTimeZone::ALL], [string $country])
DESCRIPTION
Procedural style array timezone_identifiers_list NULL ([int $what = DateTimeZone::ALL], [string $country])
PARAMETERS
o $what - One of DateTimeZone class constants. o $country - A two-letter ISO 3166-1 compatible country code. Note This option is only used when $what is set to DateTimeZone::PER_COUNTRY.
RETURN VALUES
Returns array on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | Added the optional $what and $country parame- | | | ters. | | | | +--------+---------------------------------------------------+
EXAMPLES
Example #1 A timezone_identifiers_list(3) example <?php $timezone_identifiers = DateTimeZone::listIdentifiers(); for ($i=0; $i < 5; $i++) { echo "$timezone_identifiers[$i] "; } ?> The above example will output something similar to: Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmara
SEE ALSO
timezone_abbreviations_list(3). PHP Documentation Group DATETIMEZONE.LISTIDENTIFIERS(3)
Related Man Pages
datetimezone(3) - php
datefmt_set_timezone(3) - php
intldateformatter.settimezone(3) - php
datetime.gettimezone(3) - php
datetimezone.gettransitions(3) - php
Similar Topics in the Unix Linux Community
Finding how done IT
Passing parameter from one file to shell script
sort by column or specific order
Any ideas how to accomplish this storage move?
I want to register an account from blocked country