From c1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Fri, 18 Aug 2000 12:45:01 +0000 Subject: [PATCH] typo fix in array_diff error message, fixes bug #6236 --- ext/standard/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/array.c b/ext/standard/array.c index 31dfd4cd00..844b1f4ea3 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2323,7 +2323,7 @@ PHP_FUNCTION(array_diff) set_compare_func(SORT_REGULAR); for (i=0; itype != IS_ARRAY) { - php_error(E_WARNING, "Argument #%d to array_intersect() is not an array", i+1); + php_error(E_WARNING, "Argument #%d to array_diff() is not an array", i+1); argc = i; /* only free up to i-1 */ goto out; } -- 2.40.0