(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1)
Tell whether a day is a weekday, weekend or a day that has a transition between the two
public int IntlCalendar::getDayOfWeekType ( int $dayOfWeek )
Object oriented style
Procedural style
int intlcal_get_day_of_week_type ( IntlCalendar $cal , int $dayOfWeek )
Returns whether the passed day is a weekday (IntlCalendar::DOW_TYPE_WEEKDAY), a weekend day (IntlCalendar::DOW_TYPE_WEEKEND)