From: Xinchen Hui Date: Sun, 2 Mar 2014 06:35:41 +0000 (+0800) Subject: This should be a real problem X-Git-Tag: POST_PHPNG_MERGE~412^2~467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05e8f285332d1af005e8e79daa052378e065d712;p=php This should be a real problem --- 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);