1--TEST--
2IntlTimeZone::useDaylightTime: basic test
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
11$gmt = IntlTimeZone::getGMT();
12
13var_dump($lsb->useDaylightTime());
14var_dump($gmt->useDaylightTime());
15
16var_dump(intltz_use_daylight_time($lsb));
17var_dump(intltz_use_daylight_time($gmt));
18?>
19==DONE==
20--EXPECT--
21bool(true)
22bool(false)
23bool(true)
24bool(false)
25==DONE==
25