123456789101112131415161718192021 |
- --TEST--
- IntlTimeZone::getDSTSavings(): basic test
- --SKIPIF--
- <?php
- if (!extension_loaded('intl'))
- die('skip intl extension not enabled');
- --FILE--
- <?php
- ini_set("intl.error_level", E_WARNING);
- $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
- var_dump($lsb->getDSTSavings());
- var_dump(intltz_get_dst_savings($lsb));
- ?>
- ==DONE==
- --EXPECT--
- int(3600000)
- int(3600000)
- ==DONE==
|