1--TEST-- 2IntlTimeZone::getDisplayName(): daylight parameter effect 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("error_reporting", -1); 11ini_set("display_errors", 1); 12 13$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 14 15ini_set('intl.default_locale', 'en_US'); 16var_dump($lsb->getDisplayName()); 17var_dump($lsb->getDisplayName(false)); 18var_dump($lsb->getDisplayName(true)); 19 20?> 21==DONE== 22--EXPECTF-- 23string(%d) "Western European%sTime" 24string(%d) "Western European%sTime" 25string(28) "Western European Summer Time" 26==DONE== 26