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==DONE== 16--EXPECT-- 17IntlTimeZone Object 18( 19 [valid] => 1 20 [id] => GMT 21 [rawOffset] => 0 22 [currentOffset] => 0 23) 24IntlTimeZone Object 25( 26 [valid] => 1 27 [id] => GMT 28 [rawOffset] => 0 29 [currentOffset] => 0 30) 31==DONE== 31