php-src/ext/intl/tests/timezone_getGMT_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

26 lines
381 B
PHP

--TEST--
IntlTimeZone::getGMT(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
$tz = IntlTimeZone::getGMT();
print_r($tz);
$tz = intltz_get_gmt();
print_r($tz);
?>
--EXPECT--
IntlTimeZone Object
(
[valid] => 1
[id] => GMT
[rawOffset] => 0
[currentOffset] => 0
)
IntlTimeZone Object
(
[valid] => 1
[id] => GMT
[rawOffset] => 0
[currentOffset] => 0
)