--TEST-- IntlCalendar::setTime(): bad arguments --INI-- date.timezone=Atlantic/Azores --SKIPIF-- setTime(1, 2)); var_dump($c->setTime("jjj")); var_dump(intlcal_set_time($c, 1, 2)); var_dump(intlcal_set_time(1)); --EXPECTF-- Warning: IntlCalendar::setTime() expects exactly 1 parameter, 2 given in %s on line %d Warning: IntlCalendar::setTime(): intlcal_set_time: bad arguments in %s on line %d bool(false) Warning: IntlCalendar::setTime() expects parameter 1 to be float, string given in %s on line %d Warning: IntlCalendar::setTime(): intlcal_set_time: bad arguments in %s on line %d bool(false) Warning: intlcal_set_time() expects exactly 2 parameters, 3 given in %s on line %d Warning: intlcal_set_time(): intlcal_set_time: bad arguments in %s on line %d bool(false) Fatal error: Uncaught TypeError: Argument 1 passed to intlcal_set_time() must be an instance of IntlCalendar, int given in %s:%d Stack trace: #0 %s(%d): intlcal_set_time(1) #1 {main} thrown in %s on line %d