From 05e8f285332d1af005e8e79daa052378e065d712 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 2 Mar 2014 14:35:41 +0800 Subject: [PATCH] This should be a real problem --- ext/spl/spl_array.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 506bee8ca3..e69811b485 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -1412,6 +1412,7 @@ static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fnam zval tmp, *arg = NULL; zval retval; + // ??? how to pass aht as a reference to later method call? array_init(&tmp); zend_hash_copy(Z_ARRVAL(tmp), aht, (copy_ctor_func_t)zval_add_ref); -- 2.40.0