summaryrefslogtreecommitdiff
path: root/ext/intl/tests/timezone_hasSameRules_error.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-06 13:05:11 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-17 11:46:28 +0200
commit4d90848d68c4e9a07f8c687f781ae8843d4f64d3 (patch)
treeb66351de514352ebc031b5a8b0a92464b3e5f5e9 /ext/intl/tests/timezone_hasSameRules_error.phpt
parentbe6c083f28c27a3db1456edaa3be38063d4e7bc9 (diff)
downloadphp-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/timezone_hasSameRules_error.phpt')
-rw-r--r--ext/intl/tests/timezone_hasSameRules_error.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/tests/timezone_hasSameRules_error.phpt b/ext/intl/tests/timezone_hasSameRules_error.phpt
index 4ec73a96a6..07aa15039c 100644
--- a/ext/intl/tests/timezone_hasSameRules_error.phpt
+++ b/ext/intl/tests/timezone_hasSameRules_error.phpt
@@ -31,7 +31,7 @@ try {
}
--EXPECT--
int(0)
-string(99) "Argument 1 passed to IntlTimeZone::hasSameRules() must be an instance of IntlTimeZone, string given"
+string(81) "IntlTimeZone::hasSameRules() expects parameter 1 to be IntlTimeZone, string given"
int(0)
-string(92) "Argument 1 passed to intltz_has_same_rules() must be an instance of IntlTimeZone, null given"
+string(74) "intltz_has_same_rules() expects parameter 1 to be IntlTimeZone, null given"