diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-04 14:20:15 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-04 14:32:33 +0200 |
| commit | e50449bcb4c72f13577aecc195baf691a8341a29 (patch) | |
| tree | 09fb7e469ffc269c9b80e565331f5ced40829689 /ext/pcre/tests | |
| parent | e50cb320b4424e68490b0340c841d8971c6aff04 (diff) | |
| download | php-git-e50449bcb4c72f13577aecc195baf691a8341a29.tar.gz | |
Use the canonical order of types in array|string ZPP error messages
Diffstat (limited to 'ext/pcre/tests')
| -rw-r--r-- | ext/pcre/tests/preg_replace_error1.phpt | 2 | ||||
| -rw-r--r-- | ext/pcre/tests/preg_replace_error2.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/tests/preg_replace_error1.phpt b/ext/pcre/tests/preg_replace_error1.phpt index 58cd049691..e654240f37 100644 --- a/ext/pcre/tests/preg_replace_error1.phpt +++ b/ext/pcre/tests/preg_replace_error1.phpt @@ -56,4 +56,4 @@ string(1) "a" Arg value is /[a-zA-Z]/ string(1) "1" -preg_replace(): Argument #1 ($regex) must be of type string|array, stdClass given +preg_replace(): Argument #1 ($regex) must be of type array|string, stdClass given diff --git a/ext/pcre/tests/preg_replace_error2.phpt b/ext/pcre/tests/preg_replace_error2.phpt index 9a3056ab88..c4503aafd1 100644 --- a/ext/pcre/tests/preg_replace_error2.phpt +++ b/ext/pcre/tests/preg_replace_error2.phpt @@ -36,5 +36,5 @@ string(64) "this is a stringthis is a stringthis is a stringthis is a string" Arg value is: Array preg_replace(): Argument #1 ($regex) must be of type array when argument #2 ($replace) is an array, string given -preg_replace(): Argument #2 ($replace) must be of type string|array, stdClass given +preg_replace(): Argument #2 ($replace) must be of type array|string, stdClass given Done |
