mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
17 lines
No EOL
296 B
PHP
17 lines
No EOL
296 B
PHP
--TEST--
|
|
IntlTimeZone::getDSTSavings(): basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--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));
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(3600000)
|
|
int(3600000)
|