summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c
index 4c7eb7df79..9c8a067732 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -1979,7 +1979,7 @@ static void php_array_merge_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive)
/* Get the argument count and check it */
argc = ZEND_NUM_ARGS();
- if (argc < 2) {
+ if (argc < 1) {
WRONG_PARAM_COUNT;
}