com php-src: Fixed tests fails: ext/standard/array.c
| From: | Xinchen Hui | Date: | Thu, 25 Dec 2014 03:33:07 +0000 |
| Subject: | com php-src: Fixed tests fails: ext/standard/array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83859@lists.php.net to get a copy of this message | ||
Commit: 31e978ff5ccade5f0ddc43c40d263c2f719eec40
Author: Xinchen Hui <laruence@php.net> Thu, 25 Dec 2014 11:33:07 +0800
Parents: 94d26ad4b923b453d55ab7f8fd904b4c145a5a13
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=31e978ff5ccade5f0ddc43c40d263c2f719eec40
Log:
Fixed tests fails
Changed paths:
M ext/standard/array.c
Diff:
diff --git a/ext/standard/array.c b/ext/standard/array.c
index 9d55ff6..410ff21 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -249,7 +249,7 @@ PHP_FUNCTION(ksort)
Z_PARAM_ARRAY_EX(array, 0, 1)
Z_PARAM_OPTIONAL
Z_PARAM_LONG(sort_type)
- ZEND_PARSE_PARAMETERS_END();
+ ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
#endif
php_set_compare_func(sort_type);