1--TEST-- 2Test timezone_identifiers_list() function : basic functionality 3--FILE-- 4<?php 5echo "*** Testing timezone_identifiers_list() : basic functionality ***\n"; 6 7//Set the default time zone 8date_default_timezone_set("GMT"); 9 10$zones = timezone_identifiers_list(); 11echo "Check return tpe is ARRAY\n"; 12var_dump(is_array($zones)); 13 14echo "Check array contains some common timezones\n"; 15var_dump(in_array("Europe/London", $zones)); 16var_dump(in_array("America/New_York", $zones)); 17var_dump(in_array("UTC", $zones)); 18 19?> 20--EXPECT-- 21*** Testing timezone_identifiers_list() : basic functionality *** 22Check return tpe is ARRAY 23bool(true) 24Check array contains some common timezones 25bool(true) 26bool(true) 27bool(true) 28 29