/PHP-8.0/ext/intl/tests/ |
H A D | calendar_before_after_error.phpt | 2 IntlCalendar::before()/after(): bad arguments 65 error: 0, IntlCalendar::after() expects exactly 1 argument, 0 given 67 error: 0, IntlCalendar::before() expects exactly 1 argument, 0 given 69 error: 0, IntlCalendar::after(): Argument #1 ($other) must be of type IntlCalendar, int given 71 error: 0, IntlCalendar::before(): Argument #1 ($other) must be of type IntlCalendar, int given 73 error: 0, IntlCalendar::after() expects exactly 1 argument, 2 given 75 error: 0, IntlCalendar::before() expects exactly 1 argument, 2 given
|
H A D | calendar_isEquivalentTo_error.phpt | 2 IntlCalendar::isEquivalentTo(): bad arguments 53 error: 0, IntlCalendar::isEquivalentTo(): Argument #1 ($other) must be of type IntlCalendar, int gi… 55 error: 0, IntlCalendar::isEquivalentTo() expects exactly 1 argument, 2 given 57 error: 0, IntlCalendar::isEquivalentTo(): Argument #1 ($other) must be of type IntlCalendar, int gi… 61 error: 0, intlcal_is_equivalent_to(): Argument #2 ($other) must be of type IntlCalendar, int given 63 error: 0, intlcal_is_equivalent_to(): Argument #1 ($calendar) must be of type IntlCalendar, int giv…
|
H A D | calendar_equals_error.phpt | 2 IntlCalendar::equals(): bad arguments 49 error: 0, IntlCalendar::equals() expects exactly 1 argument, 0 given 51 error: 0, IntlCalendar::equals(): Argument #1 ($other) must be of type IntlCalendar, stdClass given 53 error: 0, IntlCalendar::equals() expects exactly 1 argument, 2 given 55 error: 0, intlcal_equals(): Argument #2 ($other) must be of type IntlCalendar, array given 57 error: 0, intlcal_equals(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_setTimeZone_variation1.phpt | 2 IntlCalendar::setTimeZone() variation with NULL arg 12 $intlcal = IntlCalendar::createInstance('Europe/Amsterdam'); 15 var_dump($intlcal->get(IntlCalendar::FIELD_ZONE_OFFSET)); 21 var_dump($intlcal->get(IntlCalendar::FIELD_ZONE_OFFSET));
|
H A D | calendar_set_error.phpt | 2 IntlCalendar::set(): bad arguments 46 IntlCalendar::set() expects at most 6 arguments, 7 given 47 IntlCalendar::set() has no variant with exactly 4 parameters 48 IntlCalendar::set(): Argument #1 ($year) must be a valid field 50 intlcal_set(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_get_getActualMaximum_Minumum_error.phpt | 2 IntlCalendar::get/getActualMaximum/getActualMinimum(): bad arguments 32 IntlCalendar::get(): Argument #1 ($field) must be a valid field 33 IntlCalendar::getActualMaximum(): Argument #1 ($field) must be a valid field 34 IntlCalendar::getActualMinimum(): Argument #1 ($field) must be a valid field
|
H A D | calendar_get_Least_Greatest_Minimum_Maximum_error.phpt | 2 IntlCalendar::get/Least/Greatest/Minimum/Maximum(): bad arguments 78 ValueError: 0, IntlCalendar::getLeastMaximum(): Argument #1 ($field) must be a valid field 79 ValueError: 0, IntlCalendar::getMaximum(): Argument #1 ($field) must be a valid field 80 ValueError: 0, IntlCalendar::getGreatestMinimum(): Argument #1 ($field) must be a valid field 81 ValueError: 0, IntlCalendar::getMinimum(): Argument #1 ($field) must be a valid field 86 TypeError: 0, intlcal_get_least_maximum(): Argument #1 ($calendar) must be of type IntlCalendar, in… 87 TypeError: 0, intlcal_get_maximum(): Argument #1 ($calendar) must be of type IntlCalendar, int given 88 TypeError: 0, intlcal_get_greatest_minimum(): Argument #1 ($calendar) must be of type IntlCalendar,… 89 TypeError: 0, intlcal_get_minimum(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_getType_basic.phpt | 2 IntlCalendar::getType() basic test 14 $intlcal = IntlCalendar::createInstance(); 16 $intlcal = IntlCalendar::createInstance(null, "nl_NL@calendar=hebrew");
|
H A D | bug75090.phpt | 2 Bug #75090 Constants of parent IntlCalendar class not inherited 7 class Foo extends IntlCalendar {} 11 $intlCalendarRef = new ReflectionClass(IntlCalendar::class);
|
H A D | calendar_setTime_basic.phpt | 2 IntlCalendar::setTime() basic test 16 $intlcal = IntlCalendar::createInstance('UTC'); 23 $intlcal = IntlCalendar::createInstance('UTC');
|
H A D | calendar_getErrorCode_getErrorMessage_basic.phpt | 2 IntlCalendar::getErrorCode(), ::getErrorMessage() basic test 21 $intlcal->add(IntlCalendar::FIELD_SECOND, 2147483647); 22 $intlcal->fieldDifference(-PHP_INT_MAX, IntlCalendar::FIELD_SECOND); 37 Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU method has failed i…
|
H A D | calendar_fieldDifference_error.phpt | 2 IntlCalendar::fieldDifference(): bad arguments 30 IntlCalendar::fieldDifference() expects exactly 2 arguments, 3 given 32 Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU method has failed i… 36 …: intlcal_field_difference(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %…
|
H A D | calendar_roll_error.phpt | 2 IntlCalendar::roll(): bad arguments 27 IntlCalendar::roll(): Argument #1 ($field) must be a valid field 28 intlcal_roll(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_isSet_error.phpt | 2 IntlCalendar::isSet(): bad arguments 27 IntlCalendar::isSet(): Argument #1 ($field) must be a valid field 28 intlcal_is_set(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_getDayOfWeekType_error.phpt | 2 IntlCalendar::getDayOfWeekOfType(): bad arguments 26 IntlCalendar::getDayOfWeekType(): Argument #1 ($dayOfWeek) must be a valid day of the week 27 intlcal_get_day_of_week_type(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_getWeekendTransition_error.phpt | 2 IntlCalendar::getWeekendTransition(): bad arguments 29 IntlCalendar::getWeekendTransition(): Argument #1 ($dayOfWeek) must be a valid day of the week 30 intlcal_get_weekend_transition(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_toDateTime_error.phpt | 2 IntlCalendar::toDateTime(): bad arguments 25 $cal = IntlCalendar::createInstance("Etc/Unknown"); 45 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception… 51 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception… 56 intlcal_to_date_time(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_const_field_field_count.phpt | 2 IntlCalendar::FIELD_FIELD_COUNT 11 var_dump(IntlCalendar::FIELD_FIELD_COUNT);
|
H A D | calendar_setTimeZone_error.phpt | 2 IntlCalendar::setTimeZone(): bad arguments 45 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 2 given 47 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 0 given 51 error: 0, intlcal_set_time_zone(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_setMinimalDaysInFirstWeek_error.phpt | 2 IntlCalendar::setMinimalDaysInFirstWeek(): bad arguments 33 IntlCalendar::setMinimalDaysInFirstWeek(): Argument #1 ($days) must be between 1 and 7 35 intlcal_set_minimal_days_in_first_week(): Argument #1 ($calendar) must be of type IntlCalendar, int…
|
H A D | calendar_setFirstDayOfWeek_error.phpt | 2 IntlCalendar::setFirstDayOfWeek(): bad arguments 33 IntlCalendar::setFirstDayOfWeek(): Argument #1 ($dayOfWeek) must be a valid day of the week 35 intlcal_set_first_day_of_week(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | calendar_clear_error.phpt | 2 IntlCalendar::clear(): bad arguments 32 IntlCalendar::clear(): Argument #1 ($field) must be a valid field 34 intlcal_clear(): Argument #1 ($calendar) must be of type IntlCalendar, int given
|
H A D | dateformat_formatObject_calendar.phpt | 2 IntlDateFormatter::formatObject(): IntlCalendar tests 13 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00'); //Europe/Lisbon 20 $cal = IntlCalendar::fromDateTime('2012-01-01 05:00:00+03:00'); 23 $cal = IntlCalendar::createInstance(null,'en-US@calendar=islamic-civil');
|
H A D | dateformat_formatObject_calendar_variant2.phpt | 2 IntlDateFormatter::formatObject(): IntlCalendar tests 13 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00'); //Europe/Lisbon 20 $cal = IntlCalendar::fromDateTime('2012-01-01 05:00:00+03:00'); 23 $cal = IntlCalendar::createInstance(null,'en-US@calendar=islamic-civil');
|
H A D | dateformat_formatObject_calendar_variant5.phpt | 2 IntlDateFormatter::formatObject(): IntlCalendar tests 13 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00'); //Europe/Lisbon 20 $cal = IntlCalendar::fromDateTime('2012-01-01 05:00:00+03:00'); 23 $cal = IntlCalendar::createInstance(null,'en-US@calendar=islamic-civil');
|