1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/intl/tests/timezone_createDefault_basic.phpt
Gustavo André dos Santos Lopes 5e65205a8f Initial checkin of calendar/timezone code.
2012-04-01 23:28:00 +01:00

31 lines
532 B
PHP

--TEST--
IntlTimeZone::createDefault(): basic test
--SKIPIF--
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$tz = IntlTimeZone::createDefault();
print_r($tz);
$tz = intltz_create_default();
print_r($tz);
?>
==DONE==
--EXPECTF--
IntlTimeZone Object
(
[valid] => 1
[id] => %s
[rawOffset] => %d
[currentOffset] => %d
)
IntlTimeZone Object
(
[valid] => 1
[id] => %s
[rawOffset] => %d
[currentOffset] => %d
)
==DONE==