mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
16 lines
362 B
PHP
16 lines
362 B
PHP
--TEST--
|
|
IntlCalendar::getWeekendTransition() basic test
|
|
--INI--
|
|
date.timezone=Atlantic/Azores
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$intlcal = IntlCalendar::createInstance();
|
|
var_dump($intlcal->getWeekendTransition(IntlCalendar::DOW_SUNDAY));
|
|
var_dump(intlcal_get_weekend_transition($intlcal, IntlCalendar::DOW_SUNDAY));
|
|
?>
|
|
--EXPECT--
|
|
int(86400000)
|
|
int(86400000)
|