1--TEST--
2IntlCalendar::getNow() basic test
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "nl");
11
12$now = IntlCalendar::getNow();
13$proc_now = intlcal_get_now();
14$time = time();
15var_dump(abs($now - $proc_now) < 500);
16var_dump(abs($time * 1000 - $proc_now) < 2000);
17
18?>
19==DONE==
20--EXPECT--
21bool(true)
22bool(true)
23==DONE==
24