1--TEST-- 2IntlTimeZone::getDisplayName(): 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 11$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 13ini_set('intl.default_locale', 'en_US'); 14var_dump($lsb->getDisplayName()); 15 16ini_set('intl.default_locale', 'pt_PT'); 17var_dump($lsb->getDisplayName()); 18 19?> 20==DONE== 21--EXPECTF-- 22string(%d) "Western European%sTime" 23string(%d) "Hora%sda Europa Ocidental" 24==DONE== 24