1--TEST--
2IntlTimeZone::useDaylightTime: basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
9$gmt = IntlTimeZone::getGMT();
10
11var_dump($lsb->useDaylightTime());
12var_dump($gmt->useDaylightTime());
13
14var_dump(intltz_use_daylight_time($lsb));
15var_dump(intltz_use_daylight_time($gmt));
16?>
17--EXPECT--
18bool(true)
19bool(false)
20bool(true)
21bool(false)
21