php// Error handling by catching exceptions$timezones = array('Europe/London', 'Mars/Phobos', 'Jupiter
Tokyo");// Create two DateTime objects that will contain the same Unix timestamp, but// have different timezones
“\n”;} timezones([$tz='']) 参数:$tz(字符串)-一个数字时区返回:与UTC的小时差异返回类型:INT $tz(string)-数字时区返回:与UTC的小时差值返回类型:int