php-src/ext/intl/tests/timezone_getRegion_basic.phpt
Gina Peter Banyard c42e6d62d8
ext/intl: modernize tests (#19392)
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
2025-08-06 23:33:48 +01:00

14 lines
232 B
PHP

--TEST--
IntlTimeZone::getRegion(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
var_dump(IntlTimeZone::getRegion('Europe/Amsterdam'));
var_dump(intltz_get_region('Europe/Amsterdam'));
?>
--EXPECT--
string(2) "NL"
string(2) "NL"