diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-06 13:05:11 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 11:46:28 +0200 |
commit | 4d90848d68c4e9a07f8c687f781ae8843d4f64d3 (patch) | |
tree | b66351de514352ebc031b5a8b0a92464b3e5f5e9 /ext/intl/tests/calendar_equals_error.phpt | |
parent | be6c083f28c27a3db1456edaa3be38063d4e7bc9 (diff) | |
download | php-git-4d90848d68c4e9a07f8c687f781ae8843d4f64d3.tar.gz |
Don't verify arginfo types for internal functions
To avoid duplicate type checks. In debug builds arginfo is still
checked and will generate an assertions if the function doesn't
subsequently throw an exception.
Some test results change due to differences in zpp and arginfo
error messages.
Diffstat (limited to 'ext/intl/tests/calendar_equals_error.phpt')
-rw-r--r-- | ext/intl/tests/calendar_equals_error.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/tests/calendar_equals_error.phpt b/ext/intl/tests/calendar_equals_error.phpt index d716c1a698..4e6f40b43d 100644 --- a/ext/intl/tests/calendar_equals_error.phpt +++ b/ext/intl/tests/calendar_equals_error.phpt @@ -47,10 +47,10 @@ try { --EXPECT-- error: 0, IntlCalendar::equals() expects exactly 1 parameter, 0 given -error: 0, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, instance of stdClass given +error: 0, IntlCalendar::equals() expects parameter 1 to be IntlCalendar, object given -error: 0, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, int given +error: 0, IntlCalendar::equals() expects exactly 1 parameter, 2 given -error: 0, Argument 2 passed to intlcal_equals() must be an instance of IntlCalendar, array given +error: 0, intlcal_equals() expects parameter 2 to be IntlCalendar, array given -error: 0, Argument 1 passed to intlcal_equals() must be an instance of IntlCalendar, int given +error: 0, intlcal_equals() expects parameter 1 to be IntlCalendar, int given |