diff options
author | Ondřej Surý <ondrej@sury.org> | 2010-10-21 08:52:46 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2010-10-21 08:52:46 +0200 |
commit | 01fcdff3849c3691d9aaeaab735846ab6d8895ca (patch) | |
tree | 6460876d356113fa7053df36f2aa00baa7db24a9 /Zend/tests/gc_006.phpt | |
parent | 855a09f4eded707941180c9d90acd17c25e29447 (diff) | |
download | php-upstream/5.3.3.tar.gz |
Imported Upstream version 5.3.3upstream/5.3.3
Diffstat (limited to 'Zend/tests/gc_006.phpt')
-rw-r--r-- | Zend/tests/gc_006.phpt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Zend/tests/gc_006.phpt b/Zend/tests/gc_006.phpt index 4ba0d9267..c633d038f 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(); @@ -10,18 +12,12 @@ unset($a); var_dump(gc_collect_cycles()); echo "ok\n" ?> ---EXPECT-- -object(stdClass)#1 (1) { +--EXPECTF-- +object(stdClass)#%d (1) { ["a"]=> array(1) { [0]=> - &object(stdClass)#1 (1) { - ["a"]=> - array(1) { - [0]=> - *RECURSION* - } - } + *RECURSION* } } int(2) |