1--TEST-- 2IntlCalendar::getUnknown(): 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); 10ini_set("intl.default_locale", "nl"); 11 12$tz = IntlTimeZone::getUnknown(); 13print_r($tz); 14$tz = intltz_get_unknown(); 15print_r($tz); 16?> 17==DONE== 18--EXPECT-- 19IntlTimeZone Object 20( 21 [valid] => 1 22 [id] => Etc/Unknown 23 [rawOffset] => 0 24 [currentOffset] => 0 25) 26IntlTimeZone Object 27( 28 [valid] => 1 29 [id] => Etc/Unknown 30 [rawOffset] => 0 31 [currentOffset] => 0 32) 33==DONE== 34