1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/intl/tests/timezone_createDefault_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

27 lines
405 B
PHP

--TEST--
IntlTimeZone::createDefault(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
$tz = IntlTimeZone::createDefault();
print_r($tz);
$tz = intltz_create_default();
print_r($tz);
?>
--EXPECTF--
IntlTimeZone Object
(
[valid] => 1
[id] => %s
[rawOffset] => %i
[currentOffset] => %i
)
IntlTimeZone Object
(
[valid] => 1
[id] => %s
[rawOffset] => %i
[currentOffset] => %i
)