xref: /PHP-8.1/ext/spl/tests/bug65967.phpt (revision 950d3d6e)
1--TEST--
2Bug #65967: SplObjectStorage contains corrupt member variables after garbage collection
3--INI--
4zend.enable_gc=1
5--FILE--
6<?php
7$objstore = new SplObjectStorage();
8gc_collect_cycles();
9
10var_export($objstore);
11?>
12--EXPECT--
13SplObjectStorage::__set_state(array(
14))
15