php-src/ext/intl/tests/timezone_createDefault_basic.phpt
Nikita Popov 45f7b2bcc8 Fix CRLF line-endings in tests
Also fix a single instance of CRLF in ibase_query.c.
2016-11-20 22:31:24 +01:00

32 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] => %i
[currentOffset] => %i
)
IntlTimeZone Object
(
[valid] => 1
[id] => %s
[rawOffset] => %i
[currentOffset] => %i
)
==DONE==