mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
21 lines
411 B
PHP
21 lines
411 B
PHP
--TEST--
|
|
IntlCalendar::setMinimalDaysInFirstWeek() basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$intlcal = IntlCalendar::createInstance('UTC');
|
|
var_dump(
|
|
$intlcal->setMinimalDaysInFirstWeek(6),
|
|
$intlcal->getMinimalDaysInFirstWeek(),
|
|
intlcal_set_minimal_days_in_first_week($intlcal, 5),
|
|
$intlcal->getMinimalDaysInFirstWeek()
|
|
);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
int(6)
|
|
bool(true)
|
|
int(5)
|