12345678910111213141516171819202122232425262728293031 |
- --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==
|