From: Xinchen Hui Date: Mon, 12 Mar 2012 14:52:02 +0000 (+0000) Subject: reduce memory usage X-Git-Tag: php-5.5.0alpha1~440 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=438a30f1e730ddae2707462e616180de3afac830;p=php reduce memory usage --- diff --git a/Zend/tests/bug61273.phpt b/Zend/tests/bug61273.phpt index 9d78b27317..aee35c6f4f 100644 --- a/Zend/tests/bug61273.phpt +++ b/Zend/tests/bug61273.phpt @@ -7,7 +7,7 @@ Bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes) * for 5.4 #define ZEND_VM_STACK_PAGE_SIZE ((16 * 1024) - 16) * we should trick EG(argument_stack) into growing */ -$args = array_fill(0, 64 * 1024 - 64, "*"); +$args = array_fill(0, 64 * 1024 - 64, 0); call_user_func_array(function(&$a) {}, $args); echo strval("okey"); --EXPECTF--