3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tzlist = DateTimeZone::listIdentifiers(DateTimeZone::ALL); var_dump($tzlist);
Output for 5.6.30
array(425) { [0]=> string(14) "Africa/Abidjan" [1]=> string(12) "Africa/Accra" [2]=> string(18) "Africa/Addis_Ababa" [3]=> string(14) "Africa/Algiers" [4]=> string(13) "Africa/Asmara" [5]=> string(13) "Africa/Bamako" [6]=> string(13) "Africa/Bangui" [7]=> string(13) "Africa/Banjul" [8]=> string(13) "Africa/Bissau" [9]=> string(15) "Africa/Blantyre" [10]=> string(18) "Africa/Brazzaville" [11]=> string(16) "Africa/Bujumbura" [12]=> string(12) "Africa/Cairo" [13]=> string(17) "Africa/Casablanca" [14]=> string(12) "Africa/Ceuta" [15]=> string(14) "Africa/Conakry" [16]=> string(12) "Africa/Dakar" [17]=> string(20) "Africa/Dar_es_Salaam" [18]=> string(15) "Africa/Djibouti" [19]=> string(13) "Africa/Douala" [20]=> string(15) "Africa/El_Aaiun" [21]=> string(15) "Africa/Freetown" [22]=> string(15) "Africa/Gaborone" [23]=> string(13) "Africa/Harare" [24]=> string(19) "Africa/Johannesburg" [25]=> string(11) "Africa/Juba" [26]=> string(14) "Africa/Kampala" [27]=> string(15) "Africa/Khartoum" [28]=> string(13) "Africa/Kigali" [29]=> string(15) "Africa/Kinshasa" [30]=> string(12) "Africa/Lagos" [31]=> string(17) "Africa/Libreville" [32]=> string(11) "Africa/Lome" [33]=> string(13) "Africa/Luanda" [34]=> string(17) "Africa/Lubumbashi" [35]=> string(13) "Africa/Lusaka" [36]=> string(13) "Africa/Malabo" [37]=> string(13) "Africa/Maputo" [38]=> string(13) "Africa/Maseru" [39]=> string(14) "Africa/Mbabane" [40]=> string(16) "Africa/Mogadishu" [41]=> string(15) "Africa/Monrovia" [42]=> string(14) "Africa/Nairobi" [43]=> string(15) "Africa/Ndjamena" [44]=> string(13) "Africa/Niamey" [45]=> string(17) "Africa/Nouakchott" [46]=> string(18) "Africa/Ouagadougou" [47]=> string(17) "Africa/Porto-Novo" [48]=> string(15) "Africa/Sao_Tome" [49]=> string(14) "Africa/Tripoli" [50]=> string(12) "Africa/Tunis" [51]=> string(15) "Africa/Windhoek" [52]=> string(12) "America/Adak" [53]=> string(17) "America/Anchorage" [54]=> string(16) "America/Anguilla" [55]=> string(15) "America/Antigua" [56]=> string(17) "America/Araguaina" [57]=> string(30) "America/Argentina/Buenos_Aires" [58]=> string(27) "America/Argentina/Catamarca" [59]=> string(25) "America/Argentina/Cordoba" [60]=> string(23) "America/Argentina/Jujuy" [61]=> string(26) "America/Argentina/La_Rioja" [62]=> string(25) "America/Argentina/Mendoza" [63]=> string(30) "America/Argentina/Rio_Gallegos" [64]=> string(23) "America/Argentina/Salta" [65]=> string(26) "America/Argentina/San_Juan" [66]=> string(26) "America/Argentina/San_Luis" [67]=> string(25) "America/Argentina/Tucuman" [68]=> string(25) "America/Argentina/Ushuaia" [69]=> string(13) "America/Aruba" [70]=> string(16) "America/Asuncion" [71]=> string(16) "America/Atikokan" [72]=> string(13) "America/Bahia" [73]=> string(22) "America/Bahia_Banderas" [74]=> string(16) "America/Barbados" [75]=> string(13) "America/Belem" [76]=> string(14) "America/Belize" [77]=> string(20) "America/Blanc-Sablon" [78]=> string(17) "America/Boa_Vista" [79]=> string(14) "America/Bogota" [80]=> string(13) "America/Boise" [81]=> string(21) "America/Cambridge_Bay" [82]=> string(20) "America/Campo_Grande" [83]=> string(14) "America/Cancun" [84]=> string(15) "America/Caracas" [85]=> string(15) "America/Cayenne" [86]=> string(14) "America/Cayman" [87]=> string(15) "America/Chicago" [88]=> string(17) "America/Chihuahua" [89]=> string(18) "America/Costa_Rica" [90]=> string(15) "America/Creston" [91]=> string(14) "America/Cuiaba" [92]=> string(15) "America/Curacao" [93]=> string(20) "America/Danmarkshavn" [94]=> string(14) "America/Dawson" [95]=> string(20) "America/Dawson_Creek" [96]=> string(14) "America/Denver" [97]=> string(15) "America/Detroit" [98]=> string(16) "America/Dominica" [99]=> string(16) "America/Edmonton" [100]=> string(16) "America/Eirunepe" [101]=> string(19) "America/El_Salvador" [102]=> string(19) "America/Fort_Nelson" [103]=> string(17) "America/Fortaleza" [104]=> string(17) "America/Glace_Bay" [105]=> string(15) "America/Godthab" [106]=> string(17) "America/Goose_Bay" [107]=> string(18) "America/Grand_Turk" [108]=> string(15) "America/Grenada" [109]=> string(18) "America/Guadeloupe" [110]=> string(17) "America/Guatemala" [111]=> string(17) "America/Guayaquil" [112]=> string(14) "America/Guyana" [113]=> string(15) "America/Halifax" [114]=> string(14) "America/Havana" [115]=> string(18) "America/Hermosillo" [116]=> string(28) "America/Indiana/Indianapolis" [117]=> string(20) "America/Indiana/Knox" [118]=> string(23) "America/Indiana/Marengo" [119]=> string(26) "America/Indiana/Petersburg" [120]=> string(25) "America/Indiana/Tell_City" [121]=> string(21) "America/Indiana/Vevay" [122]=> string(25) "America/Indiana/Vincennes" [123]=> string(23) "America/Indiana/Winamac" [124]=> string(14) "America/Inuvik" [125]=> string(15) "America/Iqaluit" [126]=> string(15) "America/Jamaica" [127]=> string(14) "America/Juneau" [128]=> string(27) "America/Kentucky/Louisville" [129]=> string(27) "America/Kentucky/Monticello" [130]=> string(18) "America/Kralendijk" [131]=> string(14) "America/La_Paz" [132]=> string(12) "America/Lima" [133]=> string(19) "America/Los_Angeles" [134]=> string(21) "America/Lower_Princes" [135]=> string(14) "America/Maceio" [136]=> string(15) "America/Managua" [137]=> string(14) "America/Manaus" [138]=> string(15) "America/Marigot" [139]=> string(18) "America/Martinique" [140]=> string(17) "America/Matamoros" [141]=> string(16) "America/Mazatlan" [142]=> string(17) "America/Menominee" [143]=> string(14) "America/Merida" [144]=> string(18) "America/Metlakatla" [145]=> string(19) "America/Mexico_City" [146]=> string(16) "America/Miquelon" [147]=> string(15) "America/Moncton" [148]=> string(17) "America/Monterrey" [149]=> string(18) "America/Montevideo" [150]=> string(18) "America/Montserrat" [151]=> string(14) "America/Nassau" [152]=> string(16) "America/New_York" [153]=> string(15) "America/Nipigon" [154]=> string(12) "America/Nome" [155]=> string(15) "America/Noronha" [156]=> string(27) "America/North_Dakota/Beulah" [157]=> string(27) "America/North_Dakota/Center" [158]=> string(30) "America/North_Dakota/New_Salem" [159]=> string(15) "America/Ojinaga" [160]=> string(14) "America/Panama" [161]=> string(19) "America/Pangnirtung" [162]=> string(18) "America/Paramaribo" [163]=> string(15) "America/Phoenix" [164]=> string(22) "America/Port-au-Prince" [165]=> string(21) "America/Port_of_Spain" [166]=> string(19) "America/Porto_Velho" [167]=> string(19) "America/Puerto_Rico" [168]=> string(19) "America/Rainy_River" [169]=> string(20) "America/Rankin_Inlet" [170]=> string(14) "America/Recife" [171]=> string(14) "America/Regina" [172]=> string(16) "America/Resolute" [173]=> string(18) "America/Rio_Branco" [174]=> string(16) "America/Santarem" [175]=> string(16) "America/Santiago" [176]=> string(21) "America/Santo_Domingo" [177]=> string(17) "America/Sao_Paulo" [178]=> string(20) "America/Scoresbysund" [179]=> string(13) "America/Sitka" [180]=> string(21) "America/St_Barthelemy" [181]=> string(16) "America/St_Johns" [182]=> string(16) "America/St_Kitts" [183]=> string(16) "America/St_Lucia" [184]=> string(17) "America/St_Thomas" [185]=> string(18) "America/St_Vincent" [186]=> string(21) "America/Swift_Current" [187]=> string(19) "America/Tegucigalpa" [188]=> string(13) "America/Thule" [189]=> string(19) "America/Thunder_Bay" [190]=> string(15) "America/Tijuana" [191]=> string(15) "America/Toronto" [192]=> string(15) "America/Tortola" [193]=> string(17) "America/Vancouver" [194]=> string(18) "America/Whitehorse" [195]=> string(16) "America/Winnipeg" [196]=> string(15) "America/Yakutat" [197]=> string(19) "America/Yellowknife" [198]=> string(16) "Antarctica/Casey" [199]=> string(16) "Antarctica/Davis" [200]=> string(25) "Antarctica/DumontDUrville" [201]=> string(20) "Antarctica/Macquarie" [202]=> string(17) "Antarctica/Mawson" [203]=> string(18) "Antarctica/McMurdo" [204]=> string(17) "Antarctica/Palmer" [205]=> string(18) "Antarctica/Rothera" [206]=> string(16) "Antarctica/Syowa" [207]=> string(16) "Antarctica/Troll" [208]=> string(17) "Antarctica/Vostok" [209]=> string(19) "Arctic/Longyearbyen" [210]=> string(9) "Asia/Aden" [211]=> string(11) "Asia/Almaty" [212]=> string(10) "Asia/Amman" [213]=> string(11) "Asia/Anadyr" [214]=> string(10) "Asia/Aqtau" [215]=> string(11) "Asia/Aqtobe" [216]=> string(13) "Asia/Ashgabat" [217]=> string(11) "Asia/Atyrau" [218]=> string(12) "Asia/Baghdad" [219]=> string(12) "Asia/Bahrain" [220]=> string(9) "Asia/Baku" [221]=> string(12) "Asia/Bangkok" [222]=> string(12) "Asia/Barnaul" [223]=> string(11) "Asia/Beirut" [224]=> string(12) "Asia/Bishkek" [225]=> string(11) "Asia/Brunei" [226]=> string(10) "Asia/Chita" [227]=> string(15) "Asia/Choibalsan" [228]=> string(12) "Asia/Colombo" [229]=> string(13) "Asia/Damascus" [230]=> string(10) "Asia/Dhaka" [231]=> string(9) "Asia/Dili" [232]=> string(10) "Asia/Dubai" [233]=> string(13) "Asia/Dushanbe" [234]=> string(14) "Asia/Famagusta" [235]=> string(9) "Asia/Gaza" [236]=> string(11) "Asia/Hebron" [237]=> string(16) "Asia/Ho_Chi_Minh" [238]=> string(14) "Asia/Hong_Kong" [239]=> string(9) "Asia/Hovd" [240]=> string(12) "Asia/Irkutsk" [241]=> string(12) "Asia/Jakarta" [242]=> string(13) "Asia/Jayapura" [243]=> string(14) "Asia/Jerusalem" [244]=> string(10) "Asia/Kabul" [245]=> string(14) "Asia/Kamchatka" [246]=> string(12) "Asia/Karachi" [247]=> string(14) "Asia/Kathmandu" [248]=> string(13) "Asia/Khandyga" [249]=> string(12) "Asia/Kolkata" [250]=> string(16) "Asia/Krasnoyarsk" [251]=> string(17) "Asia/Kuala_Lumpur" [252]=> string(12) "Asia/Kuching" [253]=> string(11) "Asia/Kuwait" [254]=> string(10) "Asia/Macau" [255]=> string(12) "Asia/Magadan" [256]=> string(13) "Asia/Makassar" [257]=> string(11) "Asia/Manila" [258]=> string(11) "Asia/Muscat" [259]=> string(12) "Asia/Nicosia" [260]=> string(17) "Asia/Novokuznetsk" [261]=> string(16) "Asia/Novosibirsk" [262]=> string(9) "Asia/Omsk" [263]=> string(9) "Asia/Oral" [264]=> string(15) "Asia/Phnom_Penh" [265]=> string(14) "Asia/Pontianak" [266]=> string(14) "Asia/Pyongyang" [267]=> string(10) "Asia/Qatar" [268]=> string(14) "Asia/Qyzylorda" [269]=> string(11) "Asia/Riyadh" [270]=> string(13) "Asia/Sakhalin" [271]=> string(14) "Asia/Samarkand" [272]=> string(10) "Asia/Seoul" [273]=> string(13) "Asia/Shanghai" [274]=> string(14) "Asia/Singapore" [275]=> string(18) "Asia/Srednekolymsk" [276]=> string(11) "Asia/Taipei" [277]=> string(13) "Asia/Tashkent" [278]=> string(12) "Asia/Tbilisi" [279]=> string(11) "Asia/Tehran" [280]=> string(12) "Asia/Thimphu" [281]=> string(10) "Asia/Tokyo" [282]=> string(10) "Asia/Tomsk" [283]=> string(16) "Asia/Ulaanbaatar" [284]=> string(11) "Asia/Urumqi" [285]=> string(13) "Asia/Ust-Nera" [286]=> string(14) "Asia/Vientiane" [287]=> string(16) "Asia/Vladivostok" [288]=> string(12) "Asia/Yakutsk" [289]=> string(11) "Asia/Yangon" [290]=> string(18) "Asia/Yekaterinburg" [291]=> string(12) "Asia/Yerevan" [292]=> string(15) "Atlantic/Azores" [293]=> string(16) "Atlantic/Bermuda" [294]=> string(15) "Atlantic/Canary" [295]=> string(19) "Atlantic/Cape_Verde" [296]=> string(14) "Atlantic/Faroe" [297]=> string(16) "Atlantic/Madeira" [298]=> string(18) "Atlantic/Reykjavik" [299]=> string(22) "Atlantic/South_Georgia" [300]=> string(18) "Atlantic/St_Helena" [301]=> string(16) "Atlantic/Stanley" [302]=> string(18) "Australia/Adelaide" [303]=> string(18) "Australia/Brisbane" [304]=> string(21) "Australia/Broken_Hill" [305]=> string(16) "Australia/Currie" [306]=> string(16) "Australia/Darwin" [307]=> string(15) "Australia/Eucla" [308]=> string(16) "Australia/Hobart" [309]=> string(18) "Australia/Lindeman" [310]=> string(19) "Australia/Lord_Howe" [311]=> string(19) "Australia/Melbourne" [312]=> string(15) "Australia/Perth" [313]=> string(16) "Australia/Sydney" [314]=> string(16) "Europe/Amsterdam" [315]=> string(14) "Europe/Andorra" [316]=> string(16) "Europe/Astrakhan" [317]=> string(13) "Europe/Athens" [318]=> string(15) "Europe/Belgrade" [319]=> string(13) "Europe/Berlin" [320]=> string(17) "Europe/Bratislava" [321]=> string(15) "Europe/Brussels" [322]=> string(16) "Europe/Bucharest" [323]=> string(15) "Europe/Budapest" [324]=> string(15) "Europe/Busingen" [325]=> string(15) "Europe/Chisinau" [326]=> string(17) "Europe/Copenhagen" [327]=> string(13) "Europe/Dublin" [328]=> string(16) "Europe/Gibraltar" [329]=> string(15) "Europe/Guernsey" [330]=> string(15) "Europe/Helsinki" [331]=> string(18) "Europe/Isle_of_Man" [332]=> string(15) "Europe/Istanbul" [333]=> string(13) "Europe/Jersey" [334]=> string(18) "Europe/Kaliningrad" [335]=> string(11) "Europe/Kiev" [336]=> string(12) "Europe/Kirov" [337]=> string(13) "Europe/Lisbon" [338]=> string(16) "Europe/Ljubljana" [339]=> string(13) "Europe/London" [340]=> string(17) "Europe/Luxembourg" [341]=> string(13) "Europe/Madrid" [342]=> string(12) "Europe/Malta" [343]=> string(16) "Europe/Mariehamn" [344]=> string(12) "Europe/Minsk" [345]=> string(13) "Europe/Monaco" [346]=> string(13) "Europe/Moscow" [347]=> string(11) "Europe/Oslo" [348]=> string(12) "Europe/Paris" [349]=> string(16) "Europe/Podgorica" [350]=> string(13) "Europe/Prague" [351]=> string(11) "Europe/Riga" [352]=> string(11) "Europe/Rome" [353]=> string(13) "Europe/Samara" [354]=> string(17) "Europe/San_Marino" [355]=> string(15) "Europe/Sarajevo" [356]=> string(14) "Europe/Saratov" [357]=> string(17) "Europe/Simferopol" [358]=> string(13) "Europe/Skopje" [359]=> string(12) "Europe/Sofia" [360]=> string(16) "Europe/Stockholm" [361]=> string(14) "Europe/Tallinn" [362]=> string(13) "Europe/Tirane" [363]=> string(16) "Europe/Ulyanovsk" [364]=> string(15) "Europe/Uzhgorod" [365]=> string(12) "Europe/Vaduz" [366]=> string(14) "Europe/Vatican" [367]=> string(13) "Europe/Vienna" [368]=> string(14) "Europe/Vilnius" [369]=> string(16) "Europe/Volgograd" [370]=> string(13) "Europe/Warsaw" [371]=> string(13) "Europe/Zagreb" [372]=> string(17) "Europe/Zaporozhye" [373]=> string(13) "Europe/Zurich" [374]=> string(19) "Indian/Antananarivo" [375]=> string(13) "Indian/Chagos" [376]=> string(16) "Indian/Christmas" [377]=> string(12) "Indian/Cocos" [378]=> string(13) "Indian/Comoro" [379]=> string(16) "Indian/Kerguelen" [380]=> string(11) "Indian/Mahe" [381]=> string(15) "Indian/Maldives" [382]=> string(16) "Indian/Mauritius" [383]=> string(14) "Indian/Mayotte" [384]=> string(14) "Indian/Reunion" [385]=> string(12) "Pacific/Apia" [386]=> string(16) "Pacific/Auckland" [387]=> string(20) "Pacific/Bougainville" [388]=> string(15) "Pacific/Chatham" [389]=> string(13) "Pacific/Chuuk" [390]=> string(14) "Pacific/Easter" [391]=> string(13) "Pacific/Efate" [392]=> string(17) "Pacific/Enderbury" [393]=> string(15) "Pacific/Fakaofo" [394]=> string(12) "Pacific/Fiji" [395]=> string(16) "Pacific/Funafuti" [396]=> string(17) "Pacific/Galapagos" [397]=> string(15) "Pacific/Gambier" [398]=> string(19) "Pacific/Guadalcanal" [399]=> string(12) "Pacific/Guam" [400]=> string(16) "Pacific/Honolulu" [401]=> string(16) "Pacific/Johnston" [402]=> string(18) "Pacific/Kiritimati" [403]=> string(14) "Pacific/Kosrae" [404]=> string(17) "Pacific/Kwajalein" [405]=> string(14) "Pacific/Majuro" [406]=> string(17) "Pacific/Marquesas" [407]=> string(14) "Pacific/Midway" [408]=> string(13) "Pacific/Nauru" [409]=> string(12) "Pacific/Niue" [410]=> string(15) "Pacific/Norfolk" [411]=> string(14) "Pacific/Noumea" [412]=> string(17) "Pacific/Pago_Pago" [413]=> string(13) "Pacific/Palau" [414]=> string(16) "Pacific/Pitcairn" [415]=> string(15) "Pacific/Pohnpei" [416]=> string(20) "Pacific/Port_Moresby" [417]=> string(17) "Pacific/Rarotonga" [418]=> string(14) "Pacific/Saipan" [419]=> string(14) "Pacific/Tahiti" [420]=> string(14) "Pacific/Tarawa" [421]=> string(17) "Pacific/Tongatapu" [422]=> string(12) "Pacific/Wake" [423]=> string(14) "Pacific/Wallis" [424]=> string(3) "UTC" }