summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2005-03-12 10:11:46 +0000
committerAndrey Hristov <andrey@php.net>2005-03-12 10:11:46 +0000
commit070147105f68e3361e724080962f60e560cb2cfc (patch)
treef7da9ac02618d70400bc1e09ac88b9ca038c584a
parent016a39195e94bb7175e0ec9fa91fee59e61473b1 (diff)
downloadphp-git-070147105f68e3361e724080962f60e560cb2cfc.tar.gz
Fixed #30871
-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 2a61d4c5ea..894f99a426 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -4367,7 +4367,7 @@ PHP_FUNCTION(array_combine)
}
if (zend_hash_num_elements(Z_ARRVAL_P(keys)) == 0 || zend_hash_num_elements(Z_ARRVAL_P(values)) == 0) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Both parameters should have number of elements at least 0");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Both parameters should have at least 1 element");
RETURN_FALSE;
}