1--TEST-- 2IntlTimeZone::getDisplayName(): daylight parameter effect 3--EXTENSIONS-- 4intl 5--FILE-- 6<?php 7ini_set("intl.error_level", E_WARNING); 8ini_set("error_reporting", -1); 9ini_set("display_errors", 1); 10 11$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 12 13ini_set('intl.default_locale', 'en_US'); 14var_dump($lsb->getDisplayName()); 15var_dump($lsb->getDisplayName(false)); 16var_dump($lsb->getDisplayName(true)); 17 18?> 19--EXPECTF-- 20string(%d) "Western European%sTime" 21string(%d) "Western European%sTime" 22string(28) "Western European Summer Time" 22