]> granicus.if.org Git - php/commitdiff
typo fix in array_diff error message, fixes bug #6236
authorHartmut Holzgraefe <hholzgra@php.net>
Fri, 18 Aug 2000 12:45:01 +0000 (12:45 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Fri, 18 Aug 2000 12:45:01 +0000 (12:45 +0000)
ext/standard/array.c

index 31dfd4cd00e737ef54951403991a62f5176ff8bd..844b1f4ea3869e2f9a661d89a12fcd291af74719 100644 (file)
@@ -2323,7 +2323,7 @@ PHP_FUNCTION(array_diff)
     set_compare_func(SORT_REGULAR);
        for (i=0; i<argc; i++) {
                if ((*args[i])->type != 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;
                }