From: Hartmut Holzgraefe Date: Fri, 18 Aug 2000 12:45:01 +0000 (+0000) Subject: typo fix in array_diff error message, fixes bug #6236 X-Git-Tag: php-4.0.2RC1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba;p=php typo fix in array_diff error message, fixes bug #6236 --- 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; }