1--TEST--
2IntlCalendar::isWeekend basic test
3--INI--
4date.timezone=Atlantic/Azores
5--EXTENSIONS--
6intl
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "nl");
11
12$intlcal = IntlCalendar::createInstance('UTC');
13var_dump($intlcal->isWeekend(strtotime('2012-02-29 12:00:00 +0000') * 1000));
14var_dump(intlcal_is_weekend($intlcal, strtotime('2012-02-29 12:00:00 +0000') * 1000));
15var_dump($intlcal->isWeekend(strtotime('2012-03-11 12:00:00 +0000') * 1000));
16?>
17--EXPECT--
18bool(false)
19bool(false)
20bool(true)
21