calendar_getFirstDayOfWeek_basic.phpt 423 B

1234567891011121314151617181920
  1. --TEST--
  2. IntlCalendar::getFirstDayOfWeek() basic test
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('intl'))
  6. die('skip intl extension not enabled');
  7. --FILE--
  8. <?php
  9. ini_set("intl.error_level", E_WARNING);
  10. ini_set("intl.default_locale", "nl");
  11. $intlcal = IntlCalendar::createInstance('UTC');
  12. var_dump($intlcal->getFirstDayOfWeek());
  13. var_dump(intlcal_get_first_day_of_week($intlcal));
  14. ?>
  15. ==DONE==
  16. --EXPECT--
  17. int(2)
  18. int(2)
  19. ==DONE==