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
16 lines
303 B
PHP
16 lines
303 B
PHP
--TEST--
|
|
IntlTimeZone::getRawOffset(): basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
$ams = IntlTimeZone::createTimeZone('Europe/Amsterdam');
|
|
var_dump($ams->getRawOffset());
|
|
|
|
$lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
|
|
var_dump(intltz_get_raw_offset($lsb));
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(3600000)
|
|
int(0)
|