xref: /PHP-8.2/ext/spl/tests/bug65967.phpt (revision 25cb9cdb)
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--
13\SplObjectStorage::__set_state(array(
14))
15