com php-src: These tests all have intentional circular references and they will leak and cause failures unless gc is enabled: Zend/tests/bug63055.phpt
Zend/tests/bug64896.phpt Zend/tests/constant_arrays.phpt Zend/tests/each_003.phpt Zend/tests/foreach_0 02.phpt Zend/tests/gc_032.phpt Zend/tests/v
arSyntax/parenthesesDeref.phpt

From: Date: Sun, 25 Jan 2015 00:06:18 +0000
Subject: com php-src: These tests all have intentional circular references and they will leak and cause failures unless gc is enabled: Zend/tests/bug63055.phpt
Zend/tests/bug64896.phpt Zend/tests/constant_arrays.phpt Zend/tests/each_003.phpt Zend/tests/foreach_0 02.phpt Zend/tests/gc_032.phpt Zend/tests/v
arSyntax/parenthesesDeref.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84360@lists.php.net to get a copy of this message
Commit: 388624d35940952b6dc79ccef9f85014ef3fa550 Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sat, 24 Jan 2015 16:05:42 -0800 Parents: 6093c9370b943f7ba69ee74288ffedc29acd8f92 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=388624d35940952b6dc79ccef9f85014ef3fa550 Log: These tests all have intentional circular references and they will leak and cause failures unless gc is enabled Changed paths: M Zend/tests/bug63055.phpt M Zend/tests/bug64896.phpt M Zend/tests/constant_arrays.phpt M Zend/tests/each_003.phpt M Zend/tests/foreach_002.phpt M Zend/tests/gc_032.phpt M Zend/tests/varSyntax/parenthesesDeref.phpt Diff: diff --git a/Zend/tests/bug63055.phpt b/Zend/tests/bug63055.phpt index 711385a..5efff9e 100644 --- a/Zend/tests/bug63055.phpt +++ b/Zend/tests/bug63055.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #63055 (Segfault in zend_gc with SF2 testsuite) +--INI-- +zend.enable_gc=1 --FILE-- <?php /* the default gc root size is 10,000 */ diff --git a/Zend/tests/bug64896.phpt b/Zend/tests/bug64896.phpt index 573fa12..f019697 100644 --- a/Zend/tests/bug64896.phpt +++ b/Zend/tests/bug64896.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #64896 (Segfault with gc_collect_cycles using unserialize on certain objects) +--INI-- +zend.enable_gc=1 --FILE-- <?php $bar = NULL; diff --git a/Zend/tests/constant_arrays.phpt b/Zend/tests/constant_arrays.phpt index 5bb8717..46a0f92 100644 --- a/Zend/tests/constant_arrays.phpt +++ b/Zend/tests/constant_arrays.phpt @@ -1,5 +1,7 @@ --TEST-- Constant arrays +--INI-- +zend.enable_gc=1 --FILE-- <?php diff --git a/Zend/tests/each_003.phpt b/Zend/tests/each_003.phpt index 2361d6a..fbd5455 100644 --- a/Zend/tests/each_003.phpt +++ b/Zend/tests/each_003.phpt @@ -1,5 +1,7 @@ --TEST-- Testing each() with recursion +--INI-- +zend.enable_gc=1 --FILE-- <?php diff --git a/Zend/tests/foreach_002.phpt b/Zend/tests/foreach_002.phpt index 5523424..77fe20c 100644 --- a/Zend/tests/foreach_002.phpt +++ b/Zend/tests/foreach_002.phpt @@ -1,5 +1,7 @@ --TEST-- Creating recursive array on foreach using same variable +--INI-- +zend.enable_gc=1 --FILE-- <?php diff --git a/Zend/tests/gc_032.phpt b/Zend/tests/gc_032.phpt index 84ce2ff..cd30ed7 100644 --- a/Zend/tests/gc_032.phpt +++ b/Zend/tests/gc_032.phpt @@ -1,5 +1,7 @@ --TEST-- GC 032: Crash in GC because of invalid reference counting +--INI-- +zend.enable_gc=1 --FILE-- <?php $a = array(); diff --git a/Zend/tests/varSyntax/parenthesesDeref.phpt b/Zend/tests/varSyntax/parenthesesDeref.phpt index 0ebfe9c..f22b34a 100644 --- a/Zend/tests/varSyntax/parenthesesDeref.phpt +++ b/Zend/tests/varSyntax/parenthesesDeref.phpt @@ -1,5 +1,7 @@ --TEST-- Dereferencing expression parentheses +--INI-- +zend.enable_gc=1 --FILE-- <?php

« previous php.cvs (#84360) next »