laruence                                 Mon, 12 Mar 2012 14:52:02 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=324159

Log:
reduce memory usage

Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/tests/bug61273.phpt
    U   php/php-src/branches/PHP_5_4/Zend/tests/bug61273.phpt
    U   php/php-src/trunk/Zend/tests/bug61273.phpt

Modified: php/php-src/branches/PHP_5_3/Zend/tests/bug61273.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/tests/bug61273.phpt       2012-03-12 
14:22:08 UTC (rev 324158)
+++ php/php-src/branches/PHP_5_3/Zend/tests/bug61273.phpt       2012-03-12 
14:52:02 UTC (rev 324159)
@@ -7,7 +7,7 @@
  * 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--

Modified: php/php-src/branches/PHP_5_4/Zend/tests/bug61273.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/tests/bug61273.phpt       2012-03-12 
14:22:08 UTC (rev 324158)
+++ php/php-src/branches/PHP_5_4/Zend/tests/bug61273.phpt       2012-03-12 
14:52:02 UTC (rev 324159)
@@ -7,7 +7,7 @@
  * 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--

Modified: php/php-src/trunk/Zend/tests/bug61273.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/bug61273.phpt  2012-03-12 14:22:08 UTC (rev 
324158)
+++ php/php-src/trunk/Zend/tests/bug61273.phpt  2012-03-12 14:52:02 UTC (rev 
324159)
@@ -7,7 +7,7 @@
  * 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--

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to