diff options
author | Derick Rethans <derick@php.net> | 2009-02-08 19:30:01 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2009-02-08 19:30:01 +0000 |
commit | 201c26283ca9978bc71d7608e24a5011e17ad0e5 (patch) | |
tree | 758a9b20d88eea55741a7a85e3d343260d06b10c /Zend/tests/gc_031.phpt | |
parent | 4164e522c6f6c8cae579b9f4e1caa07611b37ce4 (diff) | |
download | php-git-201c26283ca9978bc71d7608e24a5011e17ad0e5.tar.gz |
- Fixed bug #47341: Calling gc_collect_cycles() with zend.enable_gc=0 causes
segfault.
Diffstat (limited to 'Zend/tests/gc_031.phpt')
-rw-r--r-- | Zend/tests/gc_031.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/gc_031.phpt b/Zend/tests/gc_031.phpt new file mode 100644 index 0000000000..58c4b15e3a --- /dev/null +++ b/Zend/tests/gc_031.phpt @@ -0,0 +1,11 @@ +--TEST-- +GC 031: gc_collect_roots() with GC turned off. +--INI-- +zend.enable_gc=0 +--FILE-- +<?php +gc_collect_cycles(); +echo "DONE\n"; +?> +--EXPECTF-- +DONE |