summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@lerdorf.com>2015-01-24 16:05:42 -0800
committerRasmus Lerdorf <rasmus@lerdorf.com>2015-01-24 16:06:18 -0800
commit388624d35940952b6dc79ccef9f85014ef3fa550 (patch)
treec5b4dee3545d0aab112d52897e2e946c8076d361
parent6093c9370b943f7ba69ee74288ffedc29acd8f92 (diff)
downloadphp-git-388624d35940952b6dc79ccef9f85014ef3fa550.tar.gz
These tests all have intentional circular references
and they will leak and cause failures unless gc is enabled
-rw-r--r--Zend/tests/bug63055.phpt2
-rw-r--r--Zend/tests/bug64896.phpt2
-rw-r--r--Zend/tests/constant_arrays.phpt2
-rw-r--r--Zend/tests/each_003.phpt2
-rw-r--r--Zend/tests/foreach_002.phpt2
-rw-r--r--Zend/tests/gc_032.phpt2
-rw-r--r--Zend/tests/varSyntax/parenthesesDeref.phpt2
7 files changed, 14 insertions, 0 deletions
diff --git a/Zend/tests/bug63055.phpt b/Zend/tests/bug63055.phpt
index 711385a3ce..5efff9e5bd 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 573fa1242d..f01969782f 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 5bb8717604..46a0f9252e 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 2361d6a314..fbd54550fc 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 5523424ce9..77fe20cb64 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 84ce2ff7e6..cd30ed7cb6 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 0ebfe9c5d7..f22b34ac42 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