xref: /php-src/Zend/tests/gc_039.phpt (revision 39131219)
1--TEST--
2GC 039: Garbage created by replacing argument send by reference
3--EXTENSIONS--
4mbstring
5--INI--
6zend.enable_gc = 1
7--FILE--
8<?php
9$out = new stdClass;
10$out->x = $out;
11mb_parse_str("a=b", $out);
12var_dump(gc_collect_cycles());
13?>
14--EXPECT--
15int(1)
16