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
26 lines
381 B
PHP
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
|
|
)
|