1--TEST-- 2IntlTimeZone::createTimeZone(): 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::createTimeZone('GMT+01:00'); 11print_r($tz); 12$tz = intltz_create_time_zone('GMT+01:00'); 13print_r($tz); 14?> 15==DONE== 16--EXPECT-- 17IntlTimeZone Object 18( 19 [valid] => 1 20 [id] => GMT+01:00 21 [rawOffset] => 3600000 22 [currentOffset] => 3600000 23) 24IntlTimeZone Object 25( 26 [valid] => 1 27 [id] => GMT+01:00 28 [rawOffset] => 3600000 29 [currentOffset] => 3600000 30) 31==DONE== 32