summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/preg_grep_error1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/tests/preg_grep_error1.phpt')
-rw-r--r--ext/pcre/tests/preg_grep_error1.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/tests/preg_grep_error1.phpt b/ext/pcre/tests/preg_grep_error1.phpt
index 1215c24f00..3079c0b4b0 100644
--- a/ext/pcre/tests/preg_grep_error1.phpt
+++ b/ext/pcre/tests/preg_grep_error1.phpt
@@ -56,7 +56,7 @@ Warning: preg_grep(): Unknown modifier 'F' in %spreg_grep_error1.php on line %d
bool(false)
Arg value is Array
-preg_grep(): Argument #1 ($regex) must be of type string, array given
+preg_grep(): Argument #1 ($pattern) must be of type string, array given
Arg value is /[a-zA-Z]/
array(2) {
@@ -65,5 +65,5 @@ array(2) {
[2]=>
string(4) "test"
}
-preg_grep(): Argument #1 ($regex) must be of type string, stdClass given
+preg_grep(): Argument #1 ($pattern) must be of type string, stdClass given
Done