Browse Source

Turn on gc before we test it

experimental/the_5_4_that_isnt_5_4
Rasmus Lerdorf 17 years ago
parent
commit
e24fff2dac
  1. 2
      Zend/tests/gc_004.phpt
  2. 2
      Zend/tests/gc_005.phpt
  3. 2
      Zend/tests/gc_006.phpt
  4. 2
      Zend/tests/gc_007.phpt
  5. 2
      Zend/tests/gc_008.phpt
  6. 2
      Zend/tests/gc_009.phpt
  7. 2
      Zend/tests/gc_010.phpt
  8. 2
      Zend/tests/gc_011.phpt
  9. 2
      Zend/tests/gc_012.phpt
  10. 2
      Zend/tests/gc_013.phpt
  11. 2
      Zend/tests/gc_014.phpt
  12. 2
      Zend/tests/gc_015.phpt
  13. 2
      Zend/tests/gc_016.phpt
  14. 2
      Zend/tests/gc_017.phpt
  15. 2
      Zend/tests/gc_018.phpt
  16. 2
      Zend/tests/gc_019.phpt
  17. 2
      Zend/tests/gc_020.phpt
  18. 2
      Zend/tests/gc_021.phpt
  19. 1
      Zend/tests/gc_022.phpt
  20. 2
      Zend/tests/gc_023.phpt
  21. 2
      Zend/tests/gc_024.phpt
  22. 2
      Zend/tests/gc_025.phpt
  23. 2
      Zend/tests/gc_027.phpt
  24. 2
      Zend/tests/gc_028.phpt
  25. 2
      Zend/tests/gc_029.phpt
  26. 4
      Zend/tests/gc_030.phpt

2
Zend/tests/gc_004.phpt

@ -1,5 +1,7 @@
--TEST--
GC 004: Simple array cycle
--INI--
zend.enable_gc=1
--FILE--
<?php
$a = array();

2
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();

2
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();

2
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());

2
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();

2
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();

2
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();

2
Zend/tests/gc_011.phpt

@ -1,5 +1,7 @@
--TEST--
GC 011: GC and destructors
--INI--
zend.enable_gc=1
--FILE--
<?php
class Foo {

2
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();

2
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();

2
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();

2
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();

2
Zend/tests/gc_016.phpt

@ -1,5 +1,7 @@
--TEST--
GC 016: nested GC calls
--INI--
zend.enable_gc=1
--FILE--
<?php
class Foo {

2
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 {

2
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());

2
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());

2
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();

2
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();

1
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());

2
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();

2
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--

2
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());

2
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 {

2
Zend/tests/gc_028.phpt

@ -1,5 +1,7 @@
--TEST--
GC 028: GC and destructors
--INI--
zend.enable_gc=1
--FILE--
<?php
class Foo {

2
Zend/tests/gc_029.phpt

@ -1,5 +1,7 @@
--TEST--
GC 029: GC and destructors
--INI--
zend.enable_gc=1
--FILE--
<?php
class Foo {

4
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
thrown in %sgc_030.php on line %d
Loading…
Cancel
Save