php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #74745
Patch array_multisort.patch revision 2017-06-11 20:11 UTC by tandre at themeetgroup dot com

Patch array_multisort.patch for Arrays related Bug #74745

Patch version 2017-06-11 20:11 UTC

Return to Bug #74745 | Download this patch
Patch Revisions:

Developer: tandre@themeetgroup.com

diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 99ca20f..396a9d6 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -550,8 +550,8 @@ ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_array_multisort, 0, 0, 1)
 	ZEND_ARG_INFO(ZEND_SEND_PREFER_REF, arr1) /* ARRAY_INFO(0, arg1, 0) */
-	ZEND_ARG_INFO(ZEND_SEND_PREFER_REF, sort_order)
-	ZEND_ARG_INFO(ZEND_SEND_PREFER_REF, sort_flags)
+	ZEND_ARG_INFO(0, sort_order)
+	ZEND_ARG_INFO(0, sort_flags)
 	ZEND_ARG_VARIADIC_INFO(ZEND_SEND_PREFER_REF, arr2)
 ZEND_END_ARG_INFO()
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 04:01:34 2024 UTC