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
22 lines
462 B
PHP
22 lines
462 B
PHP
--TEST--
|
|
IntlCalendar::setFirstDayOfWeek() basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$intlcal = IntlCalendar::createInstance('UTC');
|
|
var_dump(
|
|
IntlCalendar::DOW_TUESDAY,
|
|
$intlcal->setFirstDayOfWeek(IntlCalendar::DOW_TUESDAY),
|
|
$intlcal->getFirstDayOfWeek(),
|
|
intlcal_set_first_day_of_week($intlcal, IntlCalendar::DOW_WEDNESDAY),
|
|
$intlcal->getFirstDayOfWeek()
|
|
);
|
|
?>
|
|
--EXPECT--
|
|
int(3)
|
|
bool(true)
|
|
int(3)
|
|
bool(true)
|
|
int(4)
|