1--TEST-- 2IntlTimeZone::getGMT(): basic test 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10$tz = IntlTimeZone::getGMT(); 11print_r($tz); 12$tz = intltz_get_gmt(); 13print_r($tz); 14?> 15--EXPECT-- 16IntlTimeZone Object 17( 18 [valid] => 1 19 [id] => GMT 20 [rawOffset] => 0 21 [currentOffset] => 0 22) 23IntlTimeZone Object 24( 25 [valid] => 1 26 [id] => GMT 27 [rawOffset] => 0 28 [currentOffset] => 0 29) 29