]> granicus.if.org Git - php/commitdiff
Turn on gc before we test it
authorRasmus Lerdorf <rasmus@php.net>
Wed, 3 Mar 2010 17:53:15 +0000 (17:53 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 3 Mar 2010 17:53:15 +0000 (17:53 +0000)
25 files changed:
Zend/tests/gc_004.phpt
Zend/tests/gc_005.phpt
Zend/tests/gc_006.phpt
Zend/tests/gc_007.phpt
Zend/tests/gc_008.phpt
Zend/tests/gc_009.phpt
Zend/tests/gc_010.phpt
Zend/tests/gc_011.phpt
Zend/tests/gc_012.phpt
Zend/tests/gc_013.phpt
Zend/tests/gc_014.phpt
Zend/tests/gc_015.phpt
Zend/tests/gc_016.phpt
Zend/tests/gc_017.phpt
Zend/tests/gc_018.phpt
Zend/tests/gc_019.phpt
Zend/tests/gc_020.phpt
Zend/tests/gc_021.phpt
Zend/tests/gc_022.phpt
Zend/tests/gc_023.phpt
Zend/tests/gc_024.phpt
Zend/tests/gc_025.phpt
Zend/tests/gc_028.phpt
Zend/tests/gc_029.phpt
Zend/tests/gc_030.phpt

index ce6a94b79a1ef4010034258b2626b30856dd4fe8..8ff5bebfb2e673027339ffad27e2548a5b735ec7 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 004: Simple array cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array();
index 74fe288c834912289c80c868de87791c1967be67..a4315dea3dc8270734cad3dd87255a7c54887622 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 005: Simple object cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = new stdClass();
index ecd3e3805071d2bfa14635a916adedd8dd4a3f10..b89a3525ecc8d38dba44ae38875c96d0fd4e60a9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 006: Simple array-object cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = new stdClass();
index 4baa5e666f4909e384d625e710966176a736ff53..1a45ecf1ed732acd0153bbff3301f0c87aaa1e75 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 007: Unreferensed array cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array(array());
index e4035ca76e7bde3ab58ec1e0e220fc03ba6bdea9..c5671c86d3c9fd441b1df1b005482bcf42f24fea 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 008: Unreferensed object cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = new stdClass();
index f39a63779821e4dde995838f02d9c17cd4009496..bb772d26fb1118ae090663313263a9ed3374990c 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 009: Unreferensed array-object cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array();
index d39ef8a096cf5fdb27ce21b07fc5c46455c460c1..d08da356a2d3a57118e45865ec80c2a0e107b6db 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 010: Cycle with reference to $GLOBALS
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array();
index 523b65205c5008f15121c0e942b67dd0732850ca..d7c95aebb232ce3ed4db44325289682f42e285a1 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 011: GC and destructors
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 class Foo {
index eff76ef31c1816dd2eba1219b9e8ebd64ce15b3f..f6c85389798709c6ad6dd8fff87c0e8b506a12e3 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 012: collection of many loops at once
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a=array();
index 1f75df3be2590cc30fc5b20dde816cac491568af..aa6965d31d2bc2da82c7bbbf0c8e4ab03429bd2d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC  013: Too many cycles in one array
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array();
index a9d30f15929a4b3b461ac14802838787d9a3fd6e..a9cdd360417780624621565de42d8d74fce68fb0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC  014: Too many cycles in one object
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = new stdClass();
index 76db51e7fde1465a4e037d3e8d41a252a5ce3352..bc38903f4b7e5316a1ce1e5e728035594620ee3b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC  015: Object as root of cycle
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = new stdClass();
index 6d6a3630705123a514f38b4a7cf393faf4f98cef..f1e14dab1a8ce18b77e36ba65fb5efd602db979a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 016: nested GC calls
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 class Foo {
index 865e7305dd00184d5c60d7e1ba52426fff85d5df..958c03927aa4a138b4d1ec81171dfcf7c340bb8b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 017: GC and destructors with unset
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 class Node {
index c202d8cdcf6debd116e9df68ed844087b8ee0dad..ef797ae6de60a8f31a4b032c7e42b6763b54bb7f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 018: GC detach with assign
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array(array());
index 12400d2f065085b83163e566f112fead027ebec9..17d0f73be2212db0a0ec7bb95a1fef74e352f59a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 019: GC detach with assign by reference
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array(array());
index 76e8aff9a9a50a69e7127f62d3d63e22f451618a..8f22e1b4b7234b857ed43bcfdda019fa5bb72b45 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 020: GC detach reference with assign
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array();
index 4e6c750947c492755725d929d9b077cd76543516..3db702ac5c5d56abf60102e5971476f762c1c544 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 021: GC detach reference with assign by reference
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array();
index 0418bf9a06632c0e8da6a3ecc21f19ae5b0700c1..5d7bb8494b69826ee2071822207863d90e9fe4f7 100644 (file)
@@ -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());
index 3c0580129eff4f9ae316d47e957889a484aef564..6d6e1e6376bb9342d529d5cc7dffba4c7299624c 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 023: Root buffer overflow (automatic collection)
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a=array();
index ee3e5625f3ad9faeace82f075075ee5ba256dbe3..372d4792c0f859d76da52a8f84e1b4dc169fd3cc 100644 (file)
@@ -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--
index 5ae652725757d5225cba43534d2b61c7117dca16..f838ed307fb369fbd3661b03e9491513ed51bab0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 025: Automatic GC on request shutdown
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 $a = array(array());
index 6f330cb60b2784acc31154b7db6f4a3460606021..8dc70fc39706af6861f9be8c516e3d82b5618ea3 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 028: GC and destructors
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 class Foo {
index ea0660eca4fba855ba549334166f5e3c88c4fcbc..438053414a80ce3eb3e086c929d0e70a974fc34d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 029: GC and destructors
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 class Foo {
index 4d051d2c8848515ea2e92039eababcf72f9a5794..ef044e0f03e6d84713977aee8e1d08936b62a5a5 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 GC 030: GC and exceptions in destructors
+--INI--
+zend.enable_gc=1
 --FILE--
 <?php
 class foo {