mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
20 lines
387 B
PHP
20 lines
387 B
PHP
--TEST--
|
|
IntlTimeZone::useDaylightTime: basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
|
|
$gmt = IntlTimeZone::getGMT();
|
|
|
|
var_dump($lsb->useDaylightTime());
|
|
var_dump($gmt->useDaylightTime());
|
|
|
|
var_dump(intltz_use_daylight_time($lsb));
|
|
var_dump(intltz_use_daylight_time($gmt));
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(false)
|
|
bool(true)
|
|
bool(false)
|