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
28 lines
448 B
PHP
28 lines
448 B
PHP
--TEST--
|
|
IntlCalendar::getUnknown(): basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
ini_set("intl.default_locale", "nl");
|
|
|
|
$tz = IntlTimeZone::getUnknown();
|
|
print_r($tz);
|
|
$tz = intltz_get_unknown();
|
|
print_r($tz);
|
|
?>
|
|
--EXPECT--
|
|
IntlTimeZone Object
|
|
(
|
|
[valid] => 1
|
|
[id] => Etc/Unknown
|
|
[rawOffset] => 0
|
|
[currentOffset] => 0
|
|
)
|
|
IntlTimeZone Object
|
|
(
|
|
[valid] => 1
|
|
[id] => Etc/Unknown
|
|
[rawOffset] => 0
|
|
[currentOffset] => 0
|
|
)
|