mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
c42e6d62d8
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
17 lines
420 B
PHP
17 lines
420 B
PHP
--TEST--
|
|
IntlCalendar::isWeekend basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$intlcal = IntlCalendar::createInstance('UTC');
|
|
var_dump($intlcal->isWeekend(strtotime('2012-02-29 12:00:00 +0000') * 1000));
|
|
var_dump(intlcal_is_weekend($intlcal, strtotime('2012-02-29 12:00:00 +0000') * 1000));
|
|
var_dump($intlcal->isWeekend(strtotime('2012-03-11 12:00:00 +0000') * 1000));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
bool(false)
|
|
bool(true)
|