summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_search_errors.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_search_errors.phpt')
-rw-r--r--ext/standard/tests/array/array_search_errors.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/standard/tests/array/array_search_errors.phpt b/ext/standard/tests/array/array_search_errors.phpt
index 8f13497bb8..0127f62cbc 100644
--- a/ext/standard/tests/array/array_search_errors.phpt
+++ b/ext/standard/tests/array/array_search_errors.phpt
@@ -27,18 +27,18 @@ echo "Done\n";
--EXPECTF--
*** Testing error conditions of array_search() ***
-Warning: Wrong parameter count for array_search() in %s on line %d
+Warning: array_search() expects at least 2 parameters, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for array_search() in %s on line %d
+Warning: array_search() expects at most 3 parameters, 4 given in %s on line %d
NULL
-Warning: Wrong parameter count for array_search() in %s on line %d
+Warning: array_search() expects at least 2 parameters, 1 given in %s on line %d
NULL
-Warning: array_search(): Wrong datatype for second argument in %s on line %d
-bool(false)
+Warning: array_search() expects parameter 2 to be array, string given in %s on line %d
+NULL
-Warning: array_search(): Wrong datatype for second argument in %s on line %d
-bool(false)
+Warning: array_search() expects parameter 2 to be array, integer given in %s on line %d
+NULL
Done