Browse Source

These tests all have intentional circular references

and they will leak and cause failures unless gc is enabled
pull/1025/head
Rasmus Lerdorf 12 years ago
parent
commit
388624d359
  1. 2
      Zend/tests/bug63055.phpt
  2. 2
      Zend/tests/bug64896.phpt
  3. 2
      Zend/tests/constant_arrays.phpt
  4. 2
      Zend/tests/each_003.phpt
  5. 2
      Zend/tests/foreach_002.phpt
  6. 2
      Zend/tests/gc_032.phpt
  7. 2
      Zend/tests/varSyntax/parenthesesDeref.phpt

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

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

2
Zend/tests/constant_arrays.phpt

@ -1,5 +1,7 @@
--TEST--
Constant arrays
--INI--
zend.enable_gc=1
--FILE--
<?php

2
Zend/tests/each_003.phpt

@ -1,5 +1,7 @@
--TEST--
Testing each() with recursion
--INI--
zend.enable_gc=1
--FILE--
<?php

2
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

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

2
Zend/tests/varSyntax/parenthesesDeref.phpt

@ -1,5 +1,7 @@
--TEST--
Dereferencing expression parentheses
--INI--
zend.enable_gc=1
--FILE--
<?php

Loading…
Cancel
Save