1--TEST--
2IntlCalendar::getNow() basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8ini_set("intl.default_locale", "nl");
9
10$now = IntlCalendar::getNow();
11$proc_now = intlcal_get_now();
12$time = time();
13var_dump(abs($now - $proc_now) < 500);
14var_dump(abs($time * 1000 - $proc_now) < 2000);
15
16?>
17--EXPECT--
18bool(true)
19bool(true)
20