mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
19 lines
385 B
PHP
19 lines
385 B
PHP
--TEST--
|
|
IntlTimeZone::getDisplayName(): basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
|
|
|
|
ini_set('intl.default_locale', 'en_US');
|
|
var_dump($lsb->getDisplayName());
|
|
|
|
ini_set('intl.default_locale', 'pt_PT');
|
|
var_dump($lsb->getDisplayName());
|
|
|
|
?>
|
|
--EXPECTF--
|
|
string(%d) "Western European%sTime"
|
|
string(%d) "Hora%sda Europa Ocidental"
|