summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2010-03-03 17:53:15 (GMT)
committerRasmus Lerdorf <rasmus@php.net>2010-03-03 17:53:15 (GMT)
commite24fff2dac24eb4e5e98c3d3d4e3fb5c5c1946bd (patch)
treee916e89dedb694d175cea7c844fcc373b530505d /Zend
parent0efe78a57707dd74ab9ee4e950a1de06591b461d (diff)
downloadphp-e24fff2dac24eb4e5e98c3d3d4e3fb5c5c1946bd.tar.gz
Turn on gc before we test it
Diffstat (limited to 'Zend')
-rw-r--r--Zend/tests/gc_004.phpt2
-rw-r--r--Zend/tests/gc_005.phpt2
-rw-r--r--Zend/tests/gc_006.phpt2
-rw-r--r--Zend/tests/gc_007.phpt2
-rw-r--r--Zend/tests/gc_008.phpt2
-rw-r--r--Zend/tests/gc_009.phpt2
-rw-r--r--Zend/tests/gc_010.phpt2
-rw-r--r--Zend/tests/gc_011.phpt2
-rw-r--r--Zend/tests/gc_012.phpt2
-rw-r--r--Zend/tests/gc_013.phpt2
-rw-r--r--Zend/tests/gc_014.phpt2
-rw-r--r--Zend/tests/gc_015.phpt2
-rw-r--r--Zend/tests/gc_016.phpt2
-rw-r--r--Zend/tests/gc_017.phpt2
-rw-r--r--Zend/tests/gc_018.phpt2
-rw-r--r--Zend/tests/gc_019.phpt2
-rw-r--r--Zend/tests/gc_020.phpt2
-rw-r--r--Zend/tests/gc_021.phpt2
-rw-r--r--Zend/tests/gc_022.phpt1
-rw-r--r--Zend/tests/gc_023.phpt2
-rw-r--r--Zend/tests/gc_024.phpt2
-rw-r--r--Zend/tests/gc_025.phpt2
-rw-r--r--Zend/tests/gc_027.phpt2
-rw-r--r--Zend/tests/gc_028.phpt2
-rw-r--r--Zend/tests/gc_029.phpt2
-rw-r--r--Zend/tests/gc_030.phpt4
26 files changed, 52 insertions, 1 deletions
diff --git a/Zend/tests/gc_004.phpt b/Zend/tests/gc_004.phpt
index ce6a94b..8ff5beb 100644
--- a/Zend/tests/gc_004.phpt
+++ b/Zend/tests/gc_004.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 004: Simple array cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array();
diff --git a/Zend/tests/gc_005.phpt b/Zend/tests/gc_005.phpt
index 0660ded..97b368f 100644
--- a/Zend/tests/gc_005.phpt
+++ b/Zend/tests/gc_005.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 005: Simple object cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = new stdClass();
diff --git a/Zend/tests/gc_006.phpt b/Zend/tests/gc_006.phpt
index 4ba0d92..0b3a91e 100644
--- a/Zend/tests/gc_006.phpt
+++ b/Zend/tests/gc_006.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 006: Simple array-object cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = new stdClass();
diff --git a/Zend/tests/gc_007.phpt b/Zend/tests/gc_007.phpt
index 4baa5e6..1a45ecf 100644
--- a/Zend/tests/gc_007.phpt
+++ b/Zend/tests/gc_007.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 007: Unreferensed array cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array(array());
diff --git a/Zend/tests/gc_008.phpt b/Zend/tests/gc_008.phpt
index b62504b..e27a6b4 100644
--- a/Zend/tests/gc_008.phpt
+++ b/Zend/tests/gc_008.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 008: Unreferensed object cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = new stdClass();
diff --git a/Zend/tests/gc_009.phpt b/Zend/tests/gc_009.phpt
index 02ee1ae..fe70310 100644
--- a/Zend/tests/gc_009.phpt
+++ b/Zend/tests/gc_009.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 009: Unreferensed array-object cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array();
diff --git a/Zend/tests/gc_010.phpt b/Zend/tests/gc_010.phpt
index d39ef8a..d08da35 100644
--- a/Zend/tests/gc_010.phpt
+++ b/Zend/tests/gc_010.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 010: Cycle with reference to $GLOBALS
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array();
diff --git a/Zend/tests/gc_011.phpt b/Zend/tests/gc_011.phpt
index 97819be..bcaf21e 100644
--- a/Zend/tests/gc_011.phpt
+++ b/Zend/tests/gc_011.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 011: GC and destructors
+--INI--
+zend.enable_gc=1
--FILE--
<?php
class Foo {
diff --git a/Zend/tests/gc_012.phpt b/Zend/tests/gc_012.phpt
index eff76ef..f6c8538 100644
--- a/Zend/tests/gc_012.phpt
+++ b/Zend/tests/gc_012.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 012: collection of many loops at once
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a=array();
diff --git a/Zend/tests/gc_013.phpt b/Zend/tests/gc_013.phpt
index ddfa0e6..9209ca2 100644
--- a/Zend/tests/gc_013.phpt
+++ b/Zend/tests/gc_013.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 013: Too many cycles in one array
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array();
diff --git a/Zend/tests/gc_014.phpt b/Zend/tests/gc_014.phpt
index 8167880..9f43fc8 100644
--- a/Zend/tests/gc_014.phpt
+++ b/Zend/tests/gc_014.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 014: Too many cycles in one object
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = new stdClass();
diff --git a/Zend/tests/gc_015.phpt b/Zend/tests/gc_015.phpt
index be3c5eb..df85836 100644
--- a/Zend/tests/gc_015.phpt
+++ b/Zend/tests/gc_015.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 015: Object as root of cycle
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = new stdClass();
diff --git a/Zend/tests/gc_016.phpt b/Zend/tests/gc_016.phpt
index 6d6a363..f1e14da 100644
--- a/Zend/tests/gc_016.phpt
+++ b/Zend/tests/gc_016.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 016: nested GC calls
+--INI--
+zend.enable_gc=1
--FILE--
<?php
class Foo {
diff --git a/Zend/tests/gc_017.phpt b/Zend/tests/gc_017.phpt
index 9df04e2..50be610 100644
--- a/Zend/tests/gc_017.phpt
+++ b/Zend/tests/gc_017.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 017: GC and destructors with unset
+--INI--
+zend.enable_gc=1
--FILE--
<?php
class Node {
diff --git a/Zend/tests/gc_018.phpt b/Zend/tests/gc_018.phpt
index c202d8c..ef797ae 100644
--- a/Zend/tests/gc_018.phpt
+++ b/Zend/tests/gc_018.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 018: GC detach with assign
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array(array());
diff --git a/Zend/tests/gc_019.phpt b/Zend/tests/gc_019.phpt
index 12400d2..17d0f73 100644
--- a/Zend/tests/gc_019.phpt
+++ b/Zend/tests/gc_019.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 019: GC detach with assign by reference
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array(array());
diff --git a/Zend/tests/gc_020.phpt b/Zend/tests/gc_020.phpt
index 76e8aff..8f22e1b 100644
--- a/Zend/tests/gc_020.phpt
+++ b/Zend/tests/gc_020.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 020: GC detach reference with assign
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array();
diff --git a/Zend/tests/gc_021.phpt b/Zend/tests/gc_021.phpt
index 4e6c750..3db702a 100644
--- a/Zend/tests/gc_021.phpt
+++ b/Zend/tests/gc_021.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 021: GC detach reference with assign by reference
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array();
diff --git a/Zend/tests/gc_022.phpt b/Zend/tests/gc_022.phpt
index 0418bf9..5d7bb84 100644
--- a/Zend/tests/gc_022.phpt
+++ b/Zend/tests/gc_022.phpt
@@ -2,6 +2,7 @@
GC 022: GC detach reference in executor's PZVAL_UNLOCK()
--INI--
error_reporting=0
+zend.enable_gc=1
--FILE--
<?php
$a = array(array());
diff --git a/Zend/tests/gc_023.phpt b/Zend/tests/gc_023.phpt
index 3c05801..6d6e1e6 100644
--- a/Zend/tests/gc_023.phpt
+++ b/Zend/tests/gc_023.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 023: Root buffer overflow (automatic collection)
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a=array();
diff --git a/Zend/tests/gc_024.phpt b/Zend/tests/gc_024.phpt
index ee734d6..a139e95 100644
--- a/Zend/tests/gc_024.phpt
+++ b/Zend/tests/gc_024.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 024: GC and objects with non-standard handlers
+--INI--
+zend.enable_gc=1
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
--FILE--
diff --git a/Zend/tests/gc_025.phpt b/Zend/tests/gc_025.phpt
index 5ae6527..f838ed3 100644
--- a/Zend/tests/gc_025.phpt
+++ b/Zend/tests/gc_025.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 025: Automatic GC on request shutdown
+--INI--
+zend.enable_gc=1
--FILE--
<?php
$a = array(array());
diff --git a/Zend/tests/gc_027.phpt b/Zend/tests/gc_027.phpt
index 9d2418e..d499cc3 100644
--- a/Zend/tests/gc_027.phpt
+++ b/Zend/tests/gc_027.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 027: GC and properties of internal classes
+--INI--
+zend.enable_gc=1
--FILE--
<?php
try {
diff --git a/Zend/tests/gc_028.phpt b/Zend/tests/gc_028.phpt
index 6f330cb..8dc70fc 100644
--- a/Zend/tests/gc_028.phpt
+++ b/Zend/tests/gc_028.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 028: GC and destructors
+--INI--
+zend.enable_gc=1
--FILE--
<?php
class Foo {
diff --git a/Zend/tests/gc_029.phpt b/Zend/tests/gc_029.phpt
index ea0660e..4380534 100644
--- a/Zend/tests/gc_029.phpt
+++ b/Zend/tests/gc_029.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 029: GC and destructors
+--INI--
+zend.enable_gc=1
--FILE--
<?php
class Foo {
diff --git a/Zend/tests/gc_030.phpt b/Zend/tests/gc_030.phpt
index 27db29d..ef044e0 100644
--- a/Zend/tests/gc_030.phpt
+++ b/Zend/tests/gc_030.phpt
@@ -1,5 +1,7 @@
--TEST--
GC 030: GC and exceptions in destructors
+--INI--
+zend.enable_gc=1
--FILE--
<?php
class foo {
@@ -28,4 +30,4 @@ Next exception 'Exception' with message 'foobar' in %sgc_030.php:%d
Stack trace:
#0 %sgc_030.php(%d): foo->__destruct()
#1 {main}
- thrown in %sgc_030.php on line %d \ No newline at end of file
+ thrown in %sgc_030.php on line %d