]> granicus.if.org Git - php/commitdiff
shave off 900M memory from this test
authorFerenc Kovacs <tyrael@php.net>
Sat, 22 Oct 2011 23:47:52 +0000 (23:47 +0000)
committerFerenc Kovacs <tyrael@php.net>
Sat, 22 Oct 2011 23:47:52 +0000 (23:47 +0000)
Zend/tests/bug55509.phpt

index 5fafc61af4c587a3c56fd5c385d2091fcc77c55d..d9957cd5fb18ef8d48370656232295e0444c1e05 100644 (file)
@@ -7,7 +7,7 @@ if (PHP_INT_SIZE == 4) {
 }\r
 ?>\r
 --INI--\r
-memory_limit=3G\r
+memory_limit=2100M\r
 --FILE--\r
 <?php\r
 $a1 = str_repeat("1", 1024 * 1024 * 1024 * 0.5);\r
@@ -20,14 +20,11 @@ $a4 = str_repeat("4", 1024 * 1024 * 1024 * 0.5);
 echo "4\n";\r
 $a5 = str_repeat("5", 1024 * 1024 * 1024 * 0.5);\r
 echo "5\n";\r
-$a6 = str_repeat("6", 1024 * 1024 * 1024 * 0.5);\r
-echo "6\n";\r
 ?>\r
 --EXPECTF--\r
 1\r
 2\r
 3\r
 4\r
-5\r
 \r
 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sbug55509.php on line %d\r