1--TEST--
2IntlGregorianCalendar::getGregorianChange(): bad arguments
3--INI--
4date.timezone=Atlantic/Azores
5--EXTENSIONS--
6intl
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10
11var_dump(intlgregcal_get_gregorian_change(1));
12
13?>
14--EXPECTF--
15Fatal error: Uncaught TypeError: intlgregcal_get_gregorian_change(): Argument #1 ($calendar) must be of type IntlGregorianCalendar, int given in %s:%d
16Stack trace:
17#0 %s(%d): intlgregcal_get_gregorian_change(1)
18#1 {main}
19  thrown in %s on line %d
20