1--TEST--
2IntlTimeZone::getDisplayName(): basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8
9$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
10
11ini_set('intl.default_locale', 'en_US');
12var_dump($lsb->getDisplayName());
13
14ini_set('intl.default_locale', 'pt_PT');
15var_dump($lsb->getDisplayName());
16
17?>
18--EXPECTF--
19string(%d) "Western European%sTime"
20string(%d) "Hora%sda Europa Ocidental"
20